hwmon: (ibmpowernv) Add highest/lowest attributes to sensors
commit996cf5a5e94486113e8b998c4e1ecd9e4933aee8
authorShilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
Mon, 29 May 2017 04:46:01 +0000 (29 10:16 +0530)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 12 Jun 2017 00:08:19 +0000 (11 17:08 -0700)
tree39b42550161badda39cf0385f65049027157f79a
parent4ba1bb12cf21f4ee4681aee939c4d9d82d6f49f2
hwmon: (ibmpowernv) Add highest/lowest attributes to sensors

OCC provides historical minimum and maximum value for the sensor
readings. This patch exports them as highest and lowest attributes
for the inband sensors copied by OCC to main memory.

Signed-off-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ibmpowernv.c