iio: Fix bma180 dev-to-indio_dev conversion in suspend/resume
authorPeter Meerwald <pmeerw@pmeerw.net>
Wed, 18 Sep 2013 21:47:00 +0000 (22:47 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 21 Sep 2013 11:04:34 +0000 (12:04 +0100)
commit234efa1703ade3dc57a520829176378b26e831e0
treed028caf74c04da8e6039a8bb0b15da0e4260d866
parentd320f1b4811564052d5e3496a807a68c5ade791d
iio: Fix bma180 dev-to-indio_dev conversion in suspend/resume

dev_to_iio_dev() is a false friend

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