]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd30a096f7a4e095defe4c7dd831a8e3dd1572738
tree459f21ec4e29262f5135bbf6b562182573f4922d
parent7b649ff4ec272460efdc6601e99053f5a4122d1d
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