Commit 3ac9e0fd authored by Devendra Naga's avatar Devendra Naga Committed by Greg Kroah-Hartman

staging: vt6655: fix coding style warnings

a) replace spaces with tabs
b) put the opening brace of get_chip_name below it
Signed-off-by: default avatarDevendra Naga <devendra.aaru@gmail.com>
Acked-by: default avatarMarcos Paulo de Souza <marcos.souza.org@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7892e560
......@@ -347,19 +347,20 @@ static int Config_FileGetParameter(unsigned char *string,
static char* get_chip_name(int chip_id) {
static char* get_chip_name(int chip_id)
{
int i;
for (i=0;chip_info_table[i].name!=NULL;i++)
if (chip_info_table[i].chip_id==chip_id)
for (i = 0; chip_info_table[i].name != NULL; i++)
if (chip_info_table[i].chip_id == chip_id)
break;
return chip_info_table[i].name;
}
static void __devexit vt6655_remove(struct pci_dev *pcid)
{
PSDevice pDevice=pci_get_drvdata(pcid);
PSDevice pDevice = pci_get_drvdata(pcid);
if (pDevice==NULL)
if (pDevice == NULL)
return;
device_free_info(pDevice);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment