]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon (occ): Add sensor attributes and register hwmon device
authorEddie James <eajames@linux.vnet.ibm.com>
Thu, 8 Nov 2018 21:05:28 +0000 (15:05 -0600)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 16 Dec 2018 23:13:09 +0000 (15:13 -0800)
commit7f7992ddbea645d2cebdea0976e9b3245a72822a
tree35728c56d5b526fd174c577a1ff8cc2c35f69b5a
parenta36e2e2d9fa8df234988d8c183c3060456a361ad
hwmon (occ): Add sensor attributes and register hwmon device

Setup the sensor attributes for every OCC sensor found by the first poll
response. Register the attributes with hwmon.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/occ/common.c
drivers/hwmon/occ/common.h