staging: iio: isl29028: remove enable flag from isl29028_enable_proximity()
authorBrian Masney <masneyb@onstation.org>
Tue, 17 Jan 2017 09:24:59 +0000 (04:24 -0500)
committerJonathan Cameron <jic23@kernel.org>
Sun, 22 Jan 2017 13:21:38 +0000 (13:21 +0000)
commit6766342441cbf286940f2c44b5cc869fa5a57046
tree28f6d472f2e755f9b01b3edd77e18dee92558824
parent71a0a643468e96caad4f0aa48d1041f319f3ba83
staging: iio: isl29028: remove enable flag from isl29028_enable_proximity()

isl29028_enable_proximity() has a boolean argument named enable. This
function is only called once and the enable flag is set to true in that
call. This patch removes the enable parameter from that function.

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