iio:accel:bma180 replaces IIO_ST macro with explicit entries to struct scan_type
authorJonathan Cameron <jic23@kernel.org>
Wed, 11 Dec 2013 18:45:00 +0000 (18:45 +0000)
committerJonathan Cameron <jic23@kernel.org>
Tue, 17 Dec 2013 20:55:01 +0000 (20:55 +0000)
commit7d7feae706b924e7ab4b773c10741e4acc2bfa55
tree058728bdd0b5e440c6b815e451c6113a75183df2
parentcb955852a48c29ef7bd847ce993102e2b58295d4
iio:accel:bma180 replaces IIO_ST macro with explicit entries to struct scan_type

The IIO_ST macro no longer covers all the elements of struct scan_type
and has this has lead to some bugs being introduced.

The drivers are easier to follow with this structure being directly
filled so that is now preferred.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
drivers/iio/accel/bma180.c