]> 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)
commit6f6ac089b644f9b26783aeb4c1bcbafc97c84b2e
tree055d2cdaee7ee20b7c6816bf2994f9abfadcd641
parent2d17343a7449e298b85be3f2fa4726af682c4c60
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