iio:mag:mag3110 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:50 +0000 (20:55 +0000)
commite5687979eb287d68d1d3b47e9b025915659e14db
tree1b6d2b90982e6190b6dbe006763bc5662a327980
parent7d7feae706b924e7ab4b773c10741e4acc2bfa55
iio:mag:mag3110 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/magnetometer/mag3110.c