Skip to content

Commit d388e18

Browse files
GustavoARSilvabebarino
authored andcommitted
clk: imx: 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/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through Signed-off-by: Gustavo A. R. Silva <[email protected]> Link: https://lore.kernel.org/r/20200727200922.GA2326@embeddedor Signed-off-by: Stephen Boyd <[email protected]>
1 parent b3a9e3b commit d388e18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/clk/imx/clk-pllv3.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,15 +433,15 @@ struct clk_hw *imx_clk_hw_pllv3(enum imx_pllv3_type type, const char *name,
433433
break;
434434
case IMX_PLLV3_USB_VF610:
435435
pll->div_shift = 1;
436-
/* fall through */
436+
fallthrough;
437437
case IMX_PLLV3_USB:
438438
ops = &clk_pllv3_ops;
439439
pll->powerup_set = true;
440440
break;
441441
case IMX_PLLV3_AV_IMX7:
442442
pll->num_offset = PLL_IMX7_NUM_OFFSET;
443443
pll->denom_offset = PLL_IMX7_DENOM_OFFSET;
444-
/* fall through */
444+
fallthrough;
445445
case IMX_PLLV3_AV:
446446
ops = &clk_pllv3_av_ops;
447447
break;

0 commit comments

Comments
 (0)