Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hwmon: (ibmpowernv) Add current(A) sensor

This patch exports current(A) sensors in inband sensors copied to
main memory by OCC.

Signed-off-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

Shilpasri G Bhat and committed by
Guenter Roeck
3a2b3d37 3ab52160

+3 -1
+3 -1
drivers/hwmon/ibmpowernv.c
··· 50 50 TEMP, 51 51 POWER_SUPPLY, 52 52 POWER_INPUT, 53 + CURRENT, 53 54 MAX_SENSOR_TYPE, 54 55 }; 55 56 ··· 76 75 { "fan" }, 77 76 { "temp" }, 78 77 { "in" }, 79 - { "power" } 78 + { "power" }, 79 + { "curr" }, 80 80 }; 81 81 82 82 struct sensor_data {