mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging
* 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging: hwmon: Fix autoloading of fschmd on recent Fujitsu machines hwmon: (coretemp) Properly label the sensors hwmon: (coretemp) Skip duplicate CPU entries hwmon: (it87) Fix in7 on IT8720F hwmon: (k8temp) Fix temperature reporting for ASB1 processor revisions
This commit is contained in:
commit
589643be66
4 changed files with 60 additions and 12 deletions
|
@ -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));
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue