clk: imx: Use fallthrough pseudo-keyword
Subsystems (3)
PATCH 1/1 clk: imx: Use fallthrough pseudo-keyword
Replace the existing /* fall through */ comments and its variants with the new pseudo-keyword macro fallthrough[1].
Signed-off-by Gustavo A. R. Silva <[email protected]>
--- drivers/clk/imx/clk-pllv3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/clk/imx/clk-pllv3.c +2 -2
@@ -433,7 +433,7 @@ struct clk_hw *imx_clk_hw_pllv3(enum imx_pllv3_type type, const char *name,break ;case IMX_PLLV3_USB_VF610 : pll->div_shift =1 ; -/* fall through */ + fallthrough;case IMX_PLLV3_USB : ops = &clk_pllv3_ops; pll->powerup_set = true;
@@ -441,7 +441,7 @@ struct clk_hw *imx_clk_hw_pllv3(enum imx_pllv3_type type, const char *name,case IMX_PLLV3_AV_IMX7 : pll->num_offset =PLL_IMX7_NUM_OFFSET ; pll->denom_offset =PLL_IMX7_DENOM_OFFSET ; -/* fall through */ + fallthrough;case IMX_PLLV3_AV : ops = &clk_pllv3_av_ops;break ;
Signature · 1 line
2.27.0
Quoting Gustavo A. R. Silva (2020-07-27 13:09:22)
Quoted 7 lines
Replace the existing /* fall through */ comments and its variants with the new pseudo-keyword macro fallthrough[1].
Signed-off-by Gustavo A. R. Silva <[email protected]>---
Applied to clk-next
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel