]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0f0c90cab63a46439ee70318065893b32f66a6f5
tree28f6d472f2e755f9b01b3edd77e18dee92558824
parent67107d74dab86885948febcb75de6f5b263a7f21
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