staging:iio:dac:ad5791: Convert to extended channel attributes
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 4 Jun 2012 09:36:18 +0000 (11:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 04:47:31 +0000 (13:47 +0900)
commit4571b39b0b08ff855707011c6f7fa04ceb43e5ca
tree3a26100e015f663578193d00507df9c5446dc139
parentfe4586a8753117a089acb54f75870d07c8e474d0
staging:iio:dac:ad5791: Convert to extended channel attributes

Use extended channel attributes instead of raw sysfs files for the additional
channel attributes. This allows us to remove some boilerplate code.

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/ad5791.c