Skip to content

Commit 81eeae4

Browse files
JoePerchesSylwester Nawrocki
authored andcommitted
ARM/SAMSUNG EXYNOS ARM ARCHITECTURES: Use fallthrough;
Convert the various uses of fallthrough comments to fallthrough; Done via script Link: https://lore.kernel.org/lkml/b56602fcf79f849e733e7b521bb0e17895d390fa.1582230379.git.joe@perches.com/ Signed-off-by: Joe Perches <[email protected]> Reviewed-by: Stephen Boyd <[email protected]> Acked-by: Wolfram Sang <[email protected]> # for the I2C part Signed-off-by: Sylwester Nawrocki <[email protected]>
1 parent 4b159cf commit 81eeae4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

drivers/clk/samsung/clk-s3c2443.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ void __init s3c2443_common_clk_init(struct device_node *np, unsigned long xti_f,
387387
ARRAY_SIZE(s3c2450_gates));
388388
samsung_clk_register_alias(ctx, s3c2450_aliases,
389389
ARRAY_SIZE(s3c2450_aliases));
390-
/* fall through - as s3c2450 extends the s3c2416 clocks */
390+
fallthrough; /* as s3c2450 extends the s3c2416 clocks */
391391
case S3C2416:
392392
samsung_clk_register_div(ctx, s3c2416_dividers,
393393
ARRAY_SIZE(s3c2416_dividers));

drivers/i2c/busses/i2c-s3c2410.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,8 +435,7 @@ static int i2c_s3c_irq_nextbyte(struct s3c24xx_i2c *i2c, unsigned long iicstat)
435435
* fall through to the write state, as we will need to
436436
* send a byte as well
437437
*/
438-
/* Fall through */
439-
438+
fallthrough;
440439
case STATE_WRITE:
441440
/*
442441
* we are writing data to the device... check for the

0 commit comments

Comments
 (0)