hwmon: (dell-smm) Detect fan with index=2
authorPali Rohár <pali.rohar@gmail.com>
Fri, 17 Jun 2016 22:54:48 +0000 (00:54 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 28 Jun 2016 01:58:03 +0000 (18:58 -0700)
commit747bc8b063ae6b66447918280922253721cb1d9b
tree072e24eb7dae1f66fb4debc22433b0bdfe7dcb8a
parent68f86c75ca1eaf790907eb43c68f9f2996474116
hwmon: (dell-smm) Detect fan with index=2

Some Dell machines (e.g. Dell Precision M3800) have two fans, first with
index=0 and second with index=2. So export also attributes for third fan
device with index=2.

Reported-by: Tolga Cakir <cevelnet@gmail.com>
Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Tested-by: Tolga Cakir <cevelnet@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/dell-smm-hwmon.c