hwmon: (pmbus) Improve fan detection
authorGuenter Roeck <guenter.roeck@ericsson.com>
Thu, 30 Jun 2011 13:54:05 +0000 (06:54 -0700)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Fri, 1 Jul 2011 22:56:06 +0000 (15:56 -0700)
Some PMBus devices return no error when reading fan speed registers, but don't
really support fans. Strengthen fan detection by also checking if fan
configuration registers exist.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Reviewed-by: Robert Coulson <robert.coulson@ericsson.com>
Cc: stable.kernel.org # 2.6.39

No differences found