staging: iio: max1363 add _index attribute registration
authorJonathan Cameron <jic23@cam.ac.uk>
Tue, 21 Sep 2010 13:41:05 +0000 (14:41 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 21 Sep 2010 17:34:43 +0000 (10:34 -0700)
commit77b3d3facfb32913a85f40156e7d4a70b18d0bd6
treeb0b0cee981fe86a28acc74ce60be35354b0ad1da
parent67dd265d44df2998ab7a15e16d616f5a7f255853
staging: iio: max1363 add _index attribute registration

Also fixes a missing NULL to terminate one of the attribute arrays.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Manuel Stahl <manuel.stahl@iis.fraunhofer.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/adc/max1363_core.c