diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-07-07 20:24:55 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2020-07-07 20:25:54 +0200 |
commit | 6f49c4f5b95b9ac8ead1ec39066489fb10fcbde8 (patch) | |
tree | a66fd2136d3b7deb8fe5553f963822d9861a79e0 /drivers/input/touchscreen/elants_i2c.c | |
parent | Input: cm109 - remove needless check before usb_free_coherent() (diff) | |
download | linux-6f49c4f5b95b9ac8ead1ec39066489fb10fcbde8.tar.xz linux-6f49c4f5b95b9ac8ead1ec39066489fb10fcbde8.zip |
Input: Use fallthrough pseudo-keyword
Replace the existing /* fall through */ comments and its variants with
the new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary
fall-through markings when it is the case.
[1] https://www.kernel.org/doc/html/latest/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/20200707180857.GA30600@embeddedor
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/elants_i2c.c')
-rw-r--r-- | drivers/input/touchscreen/elants_i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/elants_i2c.c b/drivers/input/touchscreen/elants_i2c.c index 233cb1085bbd..a765aa876a8e 100644 --- a/drivers/input/touchscreen/elants_i2c.c +++ b/drivers/input/touchscreen/elants_i2c.c @@ -955,7 +955,7 @@ static irqreturn_t elants_i2c_irq(int irq, void *_dev) break; ts->state = ELAN_STATE_NORMAL; - /* fall through */ + fallthrough; case ELAN_STATE_NORMAL: |