commit | ebe5c543cf8ed3010881a8d863e954b961013fea | [log] [tgz] |
---|---|---|
author | kbuild test robot <fengguang.wu@intel.com> | Tue Sep 22 10:21:48 2015 +0800 |
committer | Jonathan Cameron <jic23@kernel.org> | Wed Sep 23 20:23:30 2015 +0100 |
tree | 379c5c225576d0cafe86fd9a64c61b02b6ea314b | |
parent | 36736cc66bcedcd25b65faff43e352491409971f [diff] |
iio: apds9960: light: fix simple_return.cocci warnings drivers/iio/light/apds9960.c:986:1-4: WARNING: end returns can be simpified Simplify a trivial if-return sequence. Possibly combine with a preceding function call. Generated by: scripts/coccinelle/misc/simple_return.cocci CC: Matt Ranostay <mranostay@gmail.com> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>