Input: cyapa - mark expected switch fall-throughs
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Mon, 15 Oct 2018 18:21:18 +0000 (11:21 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 15 Oct 2018 18:24:10 +0000 (11:24 -0700)
commit15ee2992c07eb67576bab2d764f34d76aabb9143
tree208100f7c2301d25496c8df64e576fe00b1200b6
parenta3f7c3fcf60868c1e90671df5d0cf9be5900a09b
Input: cyapa - mark expected switch fall-throughs

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Notice that in this particular case, I replaced the "Fallthrough state"
commern with a proper "Fall through", which is what GCC is expecting to
find.

Addresses-Coverity-ID: 114758 ("Missing break in switch")
Addresses-Coverity-ID: 114759 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/cyapa_gen3.c