diff options
author | 2018-10-15 11:21:47 -0700 | |
---|---|---|
committer | 2018-10-15 11:24:11 -0700 | |
commit | 03bf67817ec1b8eb3017d2884486ef1bac128764 (patch) | |
tree | e1940191f09a58a5f2acb47f0a002489afb5faa8 /drivers/input | |
parent | Input: cyapa - mark expected switch fall-throughs (diff) | |
download | linux-03bf67817ec1b8eb3017d2884486ef1bac128764.tar.gz linux-03bf67817ec1b8eb3017d2884486ef1bac128764.tar.bz2 linux-03bf67817ec1b8eb3017d2884486ef1bac128764.zip |
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.c | 2 |
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) bootloader = appmode - 0x24; break; } - /* Fall through for normal case */ + /* Fall through - for normal case */ case 0x4c: case 0x4d: case 0x5a: |