hwmon: (nct7802) add temperature sensor type attribute
authorConstantine Shulyupin <const@MakeLinux.com>
Wed, 1 Jul 2015 06:52:23 +0000 (09:52 +0300)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 9 Aug 2015 20:44:25 +0000 (13:44 -0700)
commitfcdc5739dce03d8050ebfa7153412c2efcdee94f
tree72cfc9a88c337c441ad72b16f7f715c7ab0fa159
parentf7644cbfcdf03528f0f450f3940c4985b2291f49
hwmon: (nct7802) add temperature sensor type attribute

Sensor type:
3 diode (current mode), MD=1
4 thermistor, MD=2

Reference:
Nuvoton Hardware Monitoring IC NCT7802Y
7.2.32 Mode Selection Register
Location : Index 22h

Signed-off-by: Constantine Shulyupin <const@MakeLinux.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct7802.c