]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc699c8eae1e6803165b1f277eda763ed7950d84d
tree96f2eb88def6774cb335dda87942b587cf779977
parent927328b415adf65d0e997d7cc9a885047d94dc1d
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