commit | b44b1f3193ff8f442c844035815d7b2ebc26366b | [log] [tgz] |
---|---|---|
author | Brian Masney <masneyb@onstation.org> | Tue Jan 17 04:24:50 2017 -0500 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Jan 22 13:21:32 2017 +0000 |
tree | 346aa56392fae33ce4f6d31b7aff8a20c648126a | |
parent | c4f60925984f4b22cb11ba76141855b5562d5423 [diff] |
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>