aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-s3c2410.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2020-03-10 21:51:24 -0700
committerSylwester Nawrocki <s.nawrocki@samsung.com>2020-05-19 16:58:42 +0200
commit81eeae43c3f61ce875c9ceab1be47bd02b0099a2 (patch)
tree5f41151427da96491eec689c1c19e6a09d5689c6 /drivers/i2c/busses/i2c-s3c2410.c
parentclk: samsung: Fix CLK_SMMU_FIMCL3 clock name on Exynos542x (diff)
downloadlinux-dev-81eeae43c3f61ce875c9ceab1be47bd02b0099a2.tar.xz
linux-dev-81eeae43c3f61ce875c9ceab1be47bd02b0099a2.zip
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>
Diffstat (limited to 'drivers/i2c/busses/i2c-s3c2410.c')
-rw-r--r--drivers/i2c/busses/i2c-s3c2410.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c
index 5a5638e1daa1..57986984a90b 100644
--- a/drivers/i2c/busses/i2c-s3c2410.c
+++ b/drivers/i2c/busses/i2c-s3c2410.c
@@ -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
* send a byte as well
*/
- /* Fall through */
-
+ fallthrough;
case STATE_WRITE:
/*
* we are writing data to the device... check for the