Home
last modified time | relevance | path

Searched hist:ebe5c543cf8ed3010881a8d863e954b961013fea (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/iio/light/
H A Dapds9960.cdiff ebe5c543cf8ed3010881a8d863e954b961013fea Tue Sep 22 04:21:48 CEST 2015 kbuild test robot <fengguang.wu@intel.com> 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>