Skip to content

Commit

Permalink
staging: vt6655: fix coding style warnings
Browse files Browse the repository at this point in the history
a) replace spaces with tabs
b) put the opening brace of get_chip_name below it

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Acked-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Devendra Naga authored and Greg Kroah-Hartman committed Sep 8, 2012
1 parent 7892e56 commit 3ac9e0f
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions drivers/staging/vt6655/device_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,21 +347,22 @@ static int Config_FileGetParameter(unsigned char *string,



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)
break;
return chip_info_table[i].name;
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)
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)
return;
device_free_info(pDevice);
if (pDevice == NULL)
return;
device_free_info(pDevice);

}

Expand Down

0 comments on commit 3ac9e0f

Please sign in to comment.