diff options
author | Ondrej Čerman | 2020-01-19 14:31:45 +0100 |
---|---|---|
committer | Ondrej Čerman | 2020-01-19 14:31:45 +0100 |
commit | fc25fcc012617f6d4b980db0403bb27f41038f5e (patch) | |
tree | 2411eeb55fdd69056e3e75b1da088b6c06bad272 | |
parent | 422edfbce1b3d21f3d98d79cd81438d758e9fb04 (diff) |
FIX #17
-rw-r--r-- | zenpower.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |