iio:bma180: Introduce part-specific _config() and disable() code
authorPeter Meerwald <pmeerw@pmeerw.net>
Tue, 19 Aug 2014 22:43:00 +0000 (23:43 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 14 Sep 2014 19:25:59 +0000 (20:25 +0100)
commitc1949ec18e50e1e23f3045a7c3836c289f553bb8
tree459f21ec4e29262f5135bbf6b562182573f4922d
parent1b9030f5a0ac7c71bc733af3c9c1064204fc0258
iio:bma180: Introduce part-specific _config() and disable() code

move part of bma180_init() to bma180_config() (split initialization and
configuration code); configuration is heavily chip-specific

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Cc: Oleksandr Kravchenko <o.v.kravchenko@globallogic.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/bma180.c