diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-08-07 00:31:02 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2018-08-08 20:23:27 +0200 |
commit | 17a4ed5545c5599852a5d75c5fb2c8e597943f99 (patch) | |
tree | d852233dfd7fd8de887eea7ee0afcd71bc61ebc6 /drivers/input/keyboard | |
parent | Input: raydium_i2c_ts - use true and false for boolean values (diff) | |
download | linux-17a4ed5545c5599852a5d75c5fb2c8e597943f99.tar.xz linux-17a4ed5545c5599852a5d75c5fb2c8e597943f99.zip |
Input: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Warning level 2 was used: -Wimplicit-fallthrough=2
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/keyboard')
-rw-r--r-- | drivers/input/keyboard/adp5589-keys.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/keyboard/adp5589-keys.c b/drivers/input/keyboard/adp5589-keys.c index 32d94c63dc33..2835fba71c33 100644 --- a/drivers/input/keyboard/adp5589-keys.c +++ b/drivers/input/keyboard/adp5589-keys.c @@ -885,6 +885,7 @@ static int adp5589_probe(struct i2c_client *client, switch (id->driver_data) { case ADP5585_02: kpad->support_row5 = true; + /* fall through */ case ADP5585_01: kpad->is_adp5585 = true; kpad->var = &const_adp5585; |