Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200949
b: refs/heads/master
c: faabd47
h: refs/heads/master
i:
  200947: 488e3c3
v: v3
  • Loading branch information
Jean Delvare committed Jul 9, 2010
1 parent 18e66bc commit 7b37075
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 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: 3f4f09b4be35d38d6e2bf22c989443e65e70fc4c
refs/heads/master: faabd47f7e3a36574abcdff0b3506abb092bbe24
8 changes: 2 additions & 6 deletions trunk/drivers/i2c/busses/i2c-i801.c
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ static void __devinit dmi_check_onboard_device(u8 type, const char *name,
/* & ~0x80, ignore enabled/disabled bit */
if ((type & ~0x80) != dmi_devices[i].type)
continue;
if (strcmp(name, dmi_devices[i].name))
if (strcasecmp(name, dmi_devices[i].name))
continue;

memset(&info, 0, sizeof(struct i2c_board_info));
Expand Down Expand Up @@ -704,9 +704,6 @@ static int __devinit i801_probe(struct pci_dev *dev,
{
unsigned char temp;
int err, i;
#if defined CONFIG_SENSORS_FSCHMD || defined CONFIG_SENSORS_FSCHMD_MODULE
const char *vendor;
#endif

I801_dev = dev;
i801_features = 0;
Expand Down Expand Up @@ -808,8 +805,7 @@ static int __devinit i801_probe(struct pci_dev *dev,
}
#endif
#if defined CONFIG_SENSORS_FSCHMD || defined CONFIG_SENSORS_FSCHMD_MODULE
vendor = dmi_get_system_info(DMI_BOARD_VENDOR);
if (vendor && !strcmp(vendor, "FUJITSU SIEMENS"))
if (dmi_name_in_vendors("FUJITSU"))
dmi_walk(dmi_check_onboard_devices, &i801_adapter);
#endif

Expand Down

0 comments on commit 7b37075

Please sign in to comment.