Skip to content

Commit

Permalink
hwmon: (ibmpowernv) Add current(A) sensor
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
shilpasri authored and groeck committed Jun 20, 2017
1 parent 3ab5216 commit 3a2b3d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/hwmon/ibmpowernv.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ enum sensors {
TEMP,
POWER_SUPPLY,
POWER_INPUT,
CURRENT,
MAX_SENSOR_TYPE,
};

Expand All @@ -75,7 +76,8 @@ static struct sensor_group {
{ "fan" },
{ "temp" },
{ "in" },
{ "power" }
{ "power" },
{ "curr" },
};

struct sensor_data {
Expand Down

0 comments on commit 3a2b3d3

Please sign in to comment.