]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit54076cb3b5ff21f6474f5fd254a0b018b24771df
tree35728c56d5b526fd174c577a1ff8cc2c35f69b5a
parentc10e753d43ebd1d17e1c62bcee20c6124c2c7cca
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