Sfoglia il codice sorgente

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>
Gustavo A. R. Silva 6 anni fa
parent
commit
4310834412
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      drivers/i2c/busses/i2c-synquacer.c

+ 1 - 1
drivers/i2c/busses/i2c-synquacer.c

@@ -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) {