Tag: ebe5c543cf8ed3010881a8d863e954b961013fea

iio: apds9960: light: fix simple_return.cocci warnings

Author: kbuild test robot <fengguang.wu@intel.com> 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 Signed-off-by: Fengguang Wu Signed-off-by: Jonathan Cameron — drivers/iio/light/apds9960.c | 6 +—– 1 file changed, 1 insertion(+), 5 deletions(-)   diff –git a/drivers/iio/light/apds9960.c b/drivers/iio/light/apds9960.c index 27f4157..8d7ce6a …

Continue reading