Commit 4ecd94b8 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Darren Hart (VMware)

platform/x86: dell-laptop: Mark expected switch fall-throughs

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Signed-off-by: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: default avatarDarren Hart (VMware) <dvhart@infradead.org>
parent 91a75360
......@@ -1565,8 +1565,10 @@ static ssize_t kbd_led_timeout_store(struct device *dev,
switch (unit) {
case KBD_TIMEOUT_DAYS:
value *= 24;
/* fall through */
case KBD_TIMEOUT_HOURS:
value *= 60;
/* fall through */
case KBD_TIMEOUT_MINUTES:
value *= 60;
unit = KBD_TIMEOUT_SECONDS;
......
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