staging: iio: isl29018: fix poorly named function
authorBrian Masney <masneyb@onstation.org>
Mon, 10 Oct 2016 07:19:56 +0000 (03:19 -0400)
committerJonathan Cameron <jic23@kernel.org>
Sun, 23 Oct 2016 18:33:41 +0000 (19:33 +0100)
commit8281101c2d69dd784baf8bdd0895b40ff041b756
tree1b2cd68c35a9a649a2a9bc3f461f44d56effb4b3
parent744ef62c2ee6ab71cdae944368983dc59b77dc32
staging: iio: isl29018: fix poorly named function

isl29035_detect() did not just do chip detection. Move functionality directly
into isl29018_chip_init() to avoid naming confusion.

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