linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][next] clk: davinci: Use fallthrough pseudo-keyword
@ 2020-07-27 20:11 Gustavo A. R. Silva
  2020-07-27 20:32 ` David Lechner
  0 siblings, 1 reply; 2+ messages in thread
From: Gustavo A. R. Silva @ 2020-07-27 20:11 UTC (permalink / raw)
  To: David Lechner, Sekhar Nori, Michael Turquette, Stephen Boyd
  Cc: linux-clk, linux-kernel, Gustavo A. R. Silva

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>
---
 drivers/clk/davinci/pll.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/davinci/pll.c b/drivers/clk/davinci/pll.c
index 8a23d5dfd1f8..6c35e4bb7940 100644
--- a/drivers/clk/davinci/pll.c
+++ b/drivers/clk/davinci/pll.c
@@ -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 {
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH][next] clk: davinci: Use fallthrough pseudo-keyword
  2020-07-27 20:11 [PATCH][next] clk: davinci: Use fallthrough pseudo-keyword Gustavo A. R. Silva
@ 2020-07-27 20:32 ` David Lechner
  0 siblings, 0 replies; 2+ messages in thread
From: David Lechner @ 2020-07-27 20:32 UTC (permalink / raw)
  To: Gustavo A. R. Silva, Sekhar Nori, Michael Turquette, Stephen Boyd
  Cc: linux-clk, linux-kernel

On 7/27/20 3:11 PM, Gustavo A. R. Silva wrote:
> 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>

Reviewed-by: David Lechner <david@lechnology.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-27 20:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-27 20:11 [PATCH][next] clk: davinci: Use fallthrough pseudo-keyword Gustavo A. R. Silva
2020-07-27 20:32 ` David Lechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).