staging:iio:core shared attrs do not work with modifier.
authorJonathan Cameron <jic23@cam.ac.uk>
Wed, 26 Oct 2011 16:27:42 +0000 (17:27 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 00:30:30 +0000 (16:30 -0800)
commit0403e0d643809f1608448ada38a1877f26b7bf5d
tree797a2a4dd3c8a1fbc2165e1eb82a0a47133c8509
parent5dd72ecb0166498852705939163f375d693d37f3
staging:iio:core shared attrs do not work with modifier.

The logic building the name had a small bug where
it did not verify if it was generic before applying the
modifier.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/industrialio-core.c