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>
This commit is contained in:
Eddie James 2018-11-08 15:05:28 -06:00 • committed by Guenter Roeck
commit 54076cb3b5
2 changed files with 353 additions and 0 deletions