aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-10-15 14:21:47 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2018-10-15 14:24:11 -0400
commit03bf67817ec1b8eb3017d2884486ef1bac128764 (patch)
treee1940191f09a58a5f2acb47f0a002489afb5faa8 /drivers/input
parent15ee2992c07eb67576bab2d764f34d76aabb9143 (diff)
Input: atmel_mxt_ts - mark expected switch fall-through
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: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/touchscreen/atmel_mxt_ts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c
index bbc122f35515..d3aacd534e9c 100644
--- a/drivers/input/touchscreen/atmel_mxt_ts.c
+++ b/drivers/input/touchscreen/atmel_mxt_ts.c
@@ -488,7 +488,7 @@ static int mxt_lookup_bootloader_address(struct mxt_data *data, bool retry)
488 bootloader = appmode - 0x24; 488 bootloader = appmode - 0x24;
489 break; 489 break;
490 } 490 }
491 /* Fall through for normal case */ 491 /* Fall through - for normal case */
492 case 0x4c: 492 case 0x4c:
493 case 0x4d: 493 case 0x4d:
494 case 0x5a: 494 case 0x5a: