diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-07-10 00:51:56 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2018-07-13 10:35:15 +0300 |
commit | 858c5dfc8c336ca26b8d4d9f639a9dc40c5daa80 (patch) | |
tree | 24b353594eee80c71b35bc5eb374ccc7e38d258b /drivers/video | |
parent | 30000d80b506819ae5dae926f636412a34594ed6 (diff) | |
download | linux-858c5dfc8c336ca26b8d4d9f639a9dc40c5daa80.tar.xz |
backlight: adp8860: 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>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/backlight/adp8860_bl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/backlight/adp8860_bl.c b/drivers/video/backlight/adp8860_bl.c index 16119bde9750..f1dc41cf19e3 100644 --- a/drivers/video/backlight/adp8860_bl.c +++ b/drivers/video/backlight/adp8860_bl.c @@ -690,6 +690,7 @@ static int adp8860_probe(struct i2c_client *client, switch (ADP8860_MANID(reg_val)) { case ADP8863_MANUFID: data->gdwn_dis = !!pdata->gdwn_dis; + /* fall through */ case ADP8860_MANUFID: data->en_ambl_sens = !!pdata->en_ambl_sens; break; |