staging: iio: Fix scan_element naming issue
commit69584bd6d257e008fe4eeebd95c318201dc71d83
authorJonathan Cameron <jic23@cam.ac.uk>
Sun, 11 Jul 2010 15:39:15 +0000 (11 16:39 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Jul 2010 18:38:29 +0000 (22 11:38 -0700)
treea1a0935301cccb6f4023e3f42404e18d6e2af806
parent2662051e0868d1bde0abeea19bd54c3c18941afc
staging: iio: Fix scan_element naming issue

The addition of a number to the scan_element names caused
an issue in drivers that used either #define or an enum
to provide the number. Before this fix names like
ADIS16350_ACCEL_X_accel_x_en occur rather than 5_accel_x_en.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/accel/adis16209.h
drivers/staging/iio/accel/adis16240.h
drivers/staging/iio/gyro/adis16260.h
drivers/staging/iio/imu/adis16300.h
drivers/staging/iio/imu/adis16350.h
drivers/staging/iio/imu/adis16400.h
drivers/staging/iio/ring_generic.h