mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 12:10:52 -04:00
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 <[email protected]> Acked-by: Michael Hennerich <[email protected]> Reviewed-by: Daniel Thompson <[email protected]> Signed-off-by: Lee Jones <[email protected]>
This commit is contained in:
parent
30000d80b5
commit
858c5dfc8c
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue