iio:accel:bmc150-accel: Move bmc150_accel_chip_init()
authorBastien Nocera <hadess@hadess.net>
Thu, 23 Jul 2015 15:20:59 +0000 (17:20 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sat, 8 Aug 2015 15:25:47 +0000 (16:25 +0100)
commitc4eaab798bd459f0c3f8917e74abf1851f3e1cb5
tree28a746de973b77405f19b9916fa4d7d94ad666cd
parentee33ddd2915cca51ce9acb1e5584631b74d92b3c
iio:accel:bmc150-accel: Move bmc150_accel_chip_init()

Move bmc150_accel_chip_init() so that we can use
bmc150_accel_chip_info_tbl[] in it.

Signed-off-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/bmc150-accel.c