aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Čerman2020-01-19 14:31:45 +0100
committerOndrej Čerman2020-01-19 14:31:45 +0100
commitfc25fcc012617f6d4b980db0403bb27f41038f5e (patch)
tree2411eeb55fdd69056e3e75b1da088b6c06bad272
parent422edfbce1b3d21f3d98d79cd81438d758e9fb04 (diff)
FIX #17
-rw-r--r--zenpower.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenpower.c b/zenpower.c
index 7c7779f..d9edb2f 100644
--- a/zenpower.c
+++ b/zenpower.c
@@ -83,7 +83,7 @@ static umode_t zenpower_is_visible(struct kobject *kobj,
struct zenpower_data *data = dev_get_drvdata(dev);
switch (index) {
- case 4 ... 11: // amperage and wattage
+ case 4 ... 11: // current and power
if (!data->amps_visible)
return 0;
break;