aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-09-13 14:59:13 -0400
committerWolfram Sang <wsa@the-dreams.de>2018-09-24 18:06:02 -0400
commit4310834412199ac9ab02350e5c360a210478e015 (patch)
tree284d7fb62942d1c44ac2407fe74df9ff54738f35
parent17ccba67109cd0631f206cf49e17986218b47854 (diff)
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>
-rw-r--r--drivers/i2c/busses/i2c-synquacer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-synquacer.c b/drivers/i2c/busses/i2c-synquacer.c
index 915f5edbab33..2184b7c3580e 100644
--- a/drivers/i2c/busses/i2c-synquacer.c
+++ b/drivers/i2c/busses/i2c-synquacer.c
@@ -404,7 +404,7 @@ static irqreturn_t synquacer_i2c_isr(int irq, void *dev_id)
404 if (i2c->state == STATE_READ) 404 if (i2c->state == STATE_READ)
405 goto prepare_read; 405 goto prepare_read;
406 406
407 /* fallthru */ 407 /* fall through */
408 408
409 case STATE_WRITE: 409 case STATE_WRITE:
410 if (bsr & SYNQUACER_I2C_BSR_LRB) { 410 if (bsr & SYNQUACER_I2C_BSR_LRB) {