staging: iio: isl29028: combine isl29028_proxim_get() and isl29028_read_proxim()
authorBrian Masney <masneyb@onstation.org>
Tue, 17 Jan 2017 09:24:50 +0000 (04:24 -0500)
committerJonathan Cameron <jic23@kernel.org>
Sun, 22 Jan 2017 13:21:32 +0000 (13:21 +0000)
commitb44b1f3193ff8f442c844035815d7b2ebc26366b
tree346aa56392fae33ce4f6d31b7aff8a20c648126a
parentc4f60925984f4b22cb11ba76141855b5562d5423
staging: iio: isl29028: combine isl29028_proxim_get() and isl29028_read_proxim()

isl29028_proxim_get() checks to see if the promixity needs to be
enabled on the chip and then calls isl29028_read_proxim(). There
are no other callers of isl29028_read_proxim(). The naming between
these two functions can be confusing so this patch combines the
two to avoid the confusion.

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