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 <joe@perches.com> Reviewed-by: Stephen Boyd <sboyd@kernel.org> Acked-by: Wolfram Sang <wsa@the-dreams.de> # for the I2C part Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
This commit is contained in:
Родитель
4b159cf13a
Коммит
81eeae43c3
|
@ -387,7 +387,7 @@ void __init s3c2443_common_clk_init(struct device_node *np, unsigned long xti_f,
|
||||||
ARRAY_SIZE(s3c2450_gates));
|
ARRAY_SIZE(s3c2450_gates));
|
||||||
samsung_clk_register_alias(ctx, s3c2450_aliases,
|
samsung_clk_register_alias(ctx, s3c2450_aliases,
|
||||||
ARRAY_SIZE(s3c2450_aliases));
|
ARRAY_SIZE(s3c2450_aliases));
|
||||||
/* fall through - as s3c2450 extends the s3c2416 clocks */
|
fallthrough; /* as s3c2450 extends the s3c2416 clocks */
|
||||||
case S3C2416:
|
case S3C2416:
|
||||||
samsung_clk_register_div(ctx, s3c2416_dividers,
|
samsung_clk_register_div(ctx, s3c2416_dividers,
|
||||||
ARRAY_SIZE(s3c2416_dividers));
|
ARRAY_SIZE(s3c2416_dividers));
|
||||||
|
|
|
@ -435,8 +435,7 @@ static int i2c_s3c_irq_nextbyte(struct s3c24xx_i2c *i2c, unsigned long iicstat)
|
||||||
* fall through to the write state, as we will need to
|
* fall through to the write state, as we will need to
|
||||||
* send a byte as well
|
* send a byte as well
|
||||||
*/
|
*/
|
||||||
/* Fall through */
|
fallthrough;
|
||||||
|
|
||||||
case STATE_WRITE:
|
case STATE_WRITE:
|
||||||
/*
|
/*
|
||||||
* we are writing data to the device... check for the
|
* we are writing data to the device... check for the
|
||||||
|
|
Загрузка…
Ссылка в новой задаче