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: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
This commit is contained in:
Gustavo A. R. Silva 2018-07-05 15:38:07 -05:00 committed by Darren Hart (VMware)
parent 91a7536082
commit 4ecd94b8e1
1 changed files with 2 additions and 0 deletions

View File

@ -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;