staging:iio:dac:ad5446 unwind use of is_visible for attrs.
authorJonathan Cameron <jic23@kernel.org>
Sun, 29 Jan 2012 11:07:02 +0000 (11:07 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2012 18:06:05 +0000 (10:06 -0800)
commit7389266cc9fa4b9b2761785bcc6fba7bbeb8d070
tree96f2eb88def6774cb335dda87942b587cf779977
parentb2c04a34aa9a1b82af590b7e7cc965e7125ce9fa
staging:iio:dac:ad5446 unwind use of is_visible for attrs.

Trivial case where no attributes are valid for some parts. Better
handled using two iio_info structures and selecting the right one
at probe time.

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