i2c: synquacer: fix fall-through annotation
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Thu, 13 Sep 2018 18:59:13 +0000 (13:59 -0500)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 24 Sep 2018 22:06:02 +0000 (00:06 +0200)
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>
drivers/i2c/busses/i2c-synquacer.c

index 915f5edbab3319212c1e22ae3274ce63de468d18..2184b7c3580e0e19052f5bc72e8f2c8b5e7c12e9 100644 (file)
@@ -404,7 +404,7 @@ static irqreturn_t synquacer_i2c_isr(int irq, void *dev_id)
                if (i2c->state == STATE_READ)
                        goto prepare_read;
 
-               /* fallthru */
+               /* fall through */
 
        case STATE_WRITE:
                if (bsr & SYNQUACER_I2C_BSR_LRB) {