diff options
author | Ondrej Čerman | 2020-01-24 20:11:27 +0100 |
---|---|---|
committer | Ondrej Čerman | 2020-01-24 20:13:41 +0100 |
commit | 7d971cce17863daf11a2e4695f181a85ee9b407f (patch) | |
tree | 888cd7e120de5976f76c897c5822bc03560460f2 | |
parent | c4e7e6ce1dc70d820be4d8bf1b8a105152348d10 (diff) |
FIX case fall through
-rw-r--r-- | zenpower.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -228,8 +228,8 @@ static int zenpower_read(struct device *dev, enum hwmon_sensor_types type, case hwmon_in: if (channel == 0) return -EOPNOTSUPP; - channel -= 1; // hwmon_in have different indexing, - __attribute__ ((fallthrough)); // see note at zenpower_info + channel -= 1; // hwmon_in have different indexing, see note at zenpower_info + // fall through // Power / Current case hwmon_curr: case hwmon_power: |