clk: davinci: Use fallthrough pseudo-keyword
authorGustavo A. R. Silva <gustavoars@kernel.org>
Mon, 27 Jul 2020 20:11:22 +0000 (15:11 -0500)
committerStephen Boyd <sboyd@kernel.org>
Mon, 27 Jul 2020 22:21:31 +0000 (15:21 -0700)
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 <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/20200727201122.GA2593@embeddedor
Reviewed-by: David Lechner <david@lechnology.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/davinci/pll.c

index 8a23d5dfd1f8dbb6d6984c03e7d2e3f433a354c4..6c35e4bb79404b84e11997190e88ab6a18601dad 100644 (file)
@@ -651,7 +651,7 @@ static int davinci_pll_sysclk_rate_change(struct notifier_block *nb,
                pllcmd = readl(pll->base + PLLCMD);
                pllcmd |= PLLCMD_GOSET;
                writel(pllcmd, pll->base + PLLCMD);
-               /* fallthrough */
+               fallthrough;
        case PRE_RATE_CHANGE:
                /* Wait until for outstanding changes to take effect */
                do {