iio: mma8452: Mark expected switch fall-through
commite161ef7c3c376f6807cdef7e8a2804b964dd7584
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Tue, 3 Jul 2018 19:44:36 +0000 (3 14:44 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 7 Jul 2018 17:04:08 +0000 (7 18:04 +0100)
tree53e7186086307242ed6ea7f7145b54869b987959
parent82d65f9d552818b7e56c85edaaf6c3d2b104d07d
iio: mma8452: Mark expected switch fall-through

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

Warning level 2 was used in this case: -Wimplicit-fallthrough=2

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/mma8452.c