]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaa33400cdd2e10eced93a80ca3a47ca9fb202efd
tree055d2cdaee7ee20b7c6816bf2994f9abfadcd641
parent5aa76c58232b02fdb798150bcd50db265d62041b
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