Commit 3a2b3d37 authored by Shilpasri G Bhat's avatar Shilpasri G Bhat Committed by Guenter Roeck

hwmon: (ibmpowernv) Add current(A) sensor

This patch exports current(A) sensors in inband sensors copied to
main memory by OCC.
Signed-off-by: default avatarShilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
Reviewed-by: default avatarCédric Le Goater <clg@kaod.org>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 3ab52160
......@@ -50,6 +50,7 @@ enum sensors {
TEMP,
POWER_SUPPLY,
POWER_INPUT,
CURRENT,
MAX_SENSOR_TYPE,
};
......@@ -75,7 +76,8 @@ static struct sensor_group {
{ "fan" },
{ "temp" },
{ "in" },
{ "power" }
{ "power" },
{ "curr" },
};
struct sensor_data {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment