staging: iio: isl29018: combine two return statements into one
authorBrian Masney <masneyb@onstation.org>
Mon, 10 Oct 2016 07:19:58 +0000 (03:19 -0400)
committerJonathan Cameron <jic23@kernel.org>
Sun, 23 Oct 2016 18:33:42 +0000 (19:33 +0100)
commitaba1a8d77fe355d1b698e10b97c74974ca8b7438
treee1c1eba4775921ecce130d0ba03a458ce61ff3f1
parent19a00a9d4c9027b4ce93b7c500da53dcb36ba1b0
staging: iio: isl29018: combine two return statements into one

Use the return value from isl29018_set_integration_time() as the return
value for isl29018_chip_init() since this is the last piece of work
inside that function.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/light/isl29018.c