]> 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)
commitf21d470b432f750527e7369c237bb2779fb38c38
tree3871834c4617d98996be947c816ede8237eb22e8
parent9e9c680cb9b5fb121383a508781fa24643d505f3
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