]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: iio: isl29028: remove unnecessary error logging in isl29028_chip_init_and_po...
authorBrian Masney <masneyb@onstation.org>
Tue, 17 Jan 2017 09:24:56 +0000 (04:24 -0500)
committerJonathan Cameron <jic23@kernel.org>
Sun, 22 Jan 2017 13:21:36 +0000 (13:21 +0000)
commit65ac716b2013b97d68dbec4be0b5fb01a16efe7e
treed1608af6f95b93fbd489bb371beb15433331ef46
parent578e02a7ed551f8d5aa8ee9fd094369bd84e7b01
staging: iio: isl29028: remove unnecessary error logging in isl29028_chip_init_and_power_on()

If the call to isl29028_chip_init_and_power_on() in isl29028_probe()
fails, then isl29028_probe() will log an error message. All of the
error paths in that call path already have error logging in place. This
patch removes the unnecessary logging.

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