]> git.baikalelectronics.ru Git - kernel.git/commit
iio:chemical:sps30 Supress some switch fallthrough warnings.
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 9 Feb 2019 19:32:58 +0000 (19:32 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 11 Feb 2019 20:07:51 +0000 (20:07 +0000)
commit9c3c335cc433f7500378551fac5cb3196c750392
tree4c6522076d8bb2c3c895dcb7875af7aab151f511
parent0b2f0cdc52f8498225986d89d26db8d64697dea8
iio:chemical:sps30 Supress some switch fallthrough warnings.

Fixes warnings reported on linux-next but marking one path
and adding an explicit return in the other.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Andreas Brauchli <a.brauchli@elementarea.net>
Acked-by: Tomasz Duszynski <tduszyns@gmail.com>
drivers/iio/chemical/sps30.c