staging:iio:adc:max1363 fix missing update_scan_mask callback.
authorJonathan Cameron <jic23@kernel.org>
Tue, 10 Apr 2012 20:11:05 +0000 (21:11 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Apr 2012 20:26:33 +0000 (13:26 -0700)
commita9ea1b178fbe66bc982c18ddaed018933b428137
tree381cfdb5343d8d04ea38a530898292801a5f752e
parent09f78be78afbdc8b164905e9a19698922fa45edb
staging:iio:adc:max1363 fix missing update_scan_mask callback.

When moving over to the new sw_ring_preenable I managed to add
this callback to only one of the two iio_info structures. As
such only some devices will currently work.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/adc/max1363_core.c