hwmon: (w83l786ng) Report correct minimum fan speed
authorAxel Lin <axel.lin@ingics.com>
Wed, 25 Jun 2014 01:02:32 +0000 (09:02 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 25 Jun 2014 13:59:39 +0000 (06:59 -0700)
commita8d4d82e50f2b3ea5ba03cd97385916009dda7a3
treeb2b282a23c7612b5a9a3a1bf01e50d50f1b8c45d
parenta497c3ba1d97fc69c1e78e7b96435ba8c2cb42ee
hwmon: (w83l786ng) Report correct minimum fan speed

Current code is buggy, it shows the current fan speed as minimum fan speed.
Fix up show_fan_reg macro to correctly report fan and fan_min speed.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Kevin Lo <kevlo@kevlo.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/w83l786ng.c