staging:iio:adc:ad7606 unwind use of is_visible for attrs.
authorJonathan Cameron <jic23@kernel.org>
Sun, 29 Jan 2012 11:07:03 +0000 (11:07 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2012 18:06:05 +0000 (10:06 -0800)
commit9214cc6e1302f5af5ee76db38d345907806dca67
treefe499cb6f83aa9b86dde942bf629eb76c22080ef
parent7389266cc9fa4b9b2761785bcc6fba7bbeb8d070
staging:iio:adc:ad7606 unwind use of is_visible for attrs.

This is the most controversial of this set of is_visible removals.
There are two conditions controlling availability of attrs resulting
in 4 different attribute groups.

Still for a few more lines things are clearer to read to my mind.

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/adc/ad7606_core.c