]> git.baikalelectronics.ru Git - kernel.git/commit
staging:iio:adc:ad7192 unwind use of is_visible for attribute group.
authorJonathan Cameron <jic23@kernel.org>
Sun, 29 Jan 2012 11:07:00 +0000 (11:07 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2012 18:06:04 +0000 (10:06 -0800)
commit904458c6be8dba505970edac38dd1640319765a2
tree3871834c4617d98996be947c816ede8237eb22e8
parent0f8f73d6b44bdca76af54f35c9d5da5c44727311
staging:iio:adc:ad7192 unwind use of is_visible for attribute group.

It saves a couple of lines of code but reduces simplicity of code.
I generally wish to discourage use of is_visible throughout IIO.

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