]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: Fix autoloading of fschmd on recent Fujitsu machines
authorJean Delvare <khali@linux-fr.org>
Fri, 9 Jul 2010 14:22:51 +0000 (16:22 +0200)
committerJean Delvare <khali@linux-fr.org>
Fri, 9 Jul 2010 14:22:51 +0000 (16:22 +0200)
commit6e59d0e1f8ee70fbc891cd9f5b6f8b5cff952824
treedfe23ab344d56a0cdc2c222a87cb6dc0f802bcf0
parentfe01d5f1da326341b8aa724c8651e71b1a035420
hwmon: Fix autoloading of fschmd on recent Fujitsu machines

Fujitsu slightly changed the DMI strings in their recent machines,
(for example the D2778) and this breaks the automatic loading of the
needed fschmd driver. Being more tolerant on string comparison fixes
the issue.

This closes bug #15634:
https://bugzilla.kernel.org/show_bug.cgi?id=15634

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Tested-by: Sergey Spiridonov <sena@hurd.homeunix.org>
Cc: Hans de Goede <hdegoede@redhat.com>
drivers/i2c/busses/i2c-i801.c