staging:iio:dac:ad5064: Convert to extended channel info attributes
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 21 Feb 2012 17:38:13 +0000 (18:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Feb 2012 20:12:25 +0000 (12:12 -0800)
commit1d0d879405db0a845584a1e7a15b39de1f4f7e53
tree055d2cdaee7ee20b7c6816bf2994f9abfadcd641
parent5f420b42079c115daf3b45bbd15bcb6b7b05ad21
staging:iio:dac:ad5064: Convert to extended channel info attributes

Use extended channel info attributes for the powerdown, powerdown_mode and
powerdown_mode_available attributes.

Note that this patch moves the chip info defintion around to avoid having to use
forward declarations for the extended channel info attributes callbacks.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/dac/ad5064.c