OSDN Git Service

hwmon: (ibmpowernv) Add energy sensors
authorShilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
Mon, 7 May 2018 10:25:38 +0000 (15:55 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 21 May 2018 04:48:03 +0000 (14:48 +1000)
commit43d2974b66d916a6df16e536da542e3a65aab7b9
tree6c36aa9861ce636778e3c6819d00ae7648a1595c
parent3c8c049aa7bdffaab2e53401fd5270a3acc32631
hwmon: (ibmpowernv) Add energy sensors

This patch exports the accumulated power numbers of each power
sensor maintained by OCC.

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