Skip to content

Commit 0a09302

Browse files
GustavoARSilvaandy-shev
authored andcommitted
pinctrl: baytrail: Use fallthrough pseudo-keyword
Replace the existing /* fall through */ comments and its variants with the new pseudo-keyword macro fallthrough[1]. [1] https://www.kernel.org/doc/html/latest/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through Signed-off-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]>
1 parent 653d964 commit 0a09302

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/pinctrl/intel/pinctrl-baytrail.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1372,13 +1372,13 @@ static void byt_irq_unmask(struct irq_data *d)
13721372
switch (irqd_get_trigger_type(d)) {
13731373
case IRQ_TYPE_LEVEL_HIGH:
13741374
value |= BYT_TRIG_LVL;
1375-
/* fall through */
1375+
fallthrough;
13761376
case IRQ_TYPE_EDGE_RISING:
13771377
value |= BYT_TRIG_POS;
13781378
break;
13791379
case IRQ_TYPE_LEVEL_LOW:
13801380
value |= BYT_TRIG_LVL;
1381-
/* fall through */
1381+
fallthrough;
13821382
case IRQ_TYPE_EDGE_FALLING:
13831383
value |= BYT_TRIG_NEG;
13841384
break;

0 commit comments

Comments
 (0)