Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324983
b: refs/heads/master
c: 3ac9e0f
h: refs/heads/master
i:
  324981: 9f065fe
  324979: 2993e3f
  324975: 677788a
v: v3
  • Loading branch information
Devendra Naga authored and Greg Kroah-Hartman committed Sep 8, 2012
1 parent 199c5e8 commit 1c59f6e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7892e560d463a556664f82188602ab3425533049
refs/heads/master: 3ac9e0fd2a7fcd4eccbb79909b421b4284ed9520
21 changes: 11 additions & 10 deletions trunk/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 1c59f6e

Please sign in to comment.