forked from luck/tmp_suning_uos_patched
i2c: synquacer: fix fall-through annotation
Replace "fallthru" with a proper "fall through" annotation. This fix is part of the ongoing efforts to enabling -Wimplicit-fallthrough Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
parent
17ccba6710
commit
4310834412
|
@ -404,7 +404,7 @@ static irqreturn_t synquacer_i2c_isr(int irq, void *dev_id)
|
||||||
if (i2c->state == STATE_READ)
|
if (i2c->state == STATE_READ)
|
||||||
goto prepare_read;
|
goto prepare_read;
|
||||||
|
|
||||||
/* fallthru */
|
/* fall through */
|
||||||
|
|
||||||
case STATE_WRITE:
|
case STATE_WRITE:
|
||||||
if (bsr & SYNQUACER_I2C_BSR_LRB) {
|
if (bsr & SYNQUACER_I2C_BSR_LRB) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user