1
0
Fork 0

staging:iio:accel remove unused accel.h header.

The chan spec conversions and a small amount of pushdown of defines
mean this header is no longer used.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
hifive-unleashed-5.1
Jonathan Cameron 2011-08-12 17:56:01 +01:00 committed by Greg Kroah-Hartman
parent 9a0a73f485
commit bbb658a99b
1 changed files with 0 additions and 87 deletions

View File

@ -1,87 +0,0 @@
#include "../sysfs.h"
/* Accelerometer types of attribute */
#define IIO_DEV_ATTR_ACCEL_OFFSET(_mode, _show, _store, _addr) \
IIO_DEVICE_ATTR(accel_offset, _mode, _show, _store, _addr)
#define IIO_DEV_ATTR_ACCEL_X_OFFSET(_mode, _show, _store, _addr) \
IIO_DEVICE_ATTR(accel_x_offset, _mode, _show, _store, _addr)
#define IIO_DEV_ATTR_ACCEL_Y_OFFSET(_mode, _show, _store, _addr) \
IIO_DEVICE_ATTR(accel_y_offset, _mode, _show, _store, _addr)
#define IIO_DEV_ATTR_ACCEL_Z_OFFSET(_mode, _show, _store, _addr) \
IIO_DEVICE_ATTR(accel_z_offset, _mode, _show, _store, _addr)
#define IIO_CONST_ATTR_ACCEL_SCALE(_string) \
IIO_CONST_ATTR(accel_scale, _string)
#define IIO_DEV_ATTR_ACCEL_SCALE(_mode, _show, _store, _addr) \
IIO_DEVICE_ATTR(accel_scale, _mode, _show, _store, _addr)
#define IIO_DEV_ATTR_ACCEL_X_SCALE(_mode, _show, _store, _addr) \
IIO_DEVICE_ATTR(accel_x_scale, _mode, _show, _store, _addr)
#define IIO_DEV_ATTR_ACCEL_Y_SCALE(_mode, _show, _store, _addr) \
IIO_DEVICE_ATTR(accel_y_scale, _mode, _show, _store, _addr)
#define IIO_DEV_ATTR_ACCEL_Z_SCALE(_mode, _show, _store, _addr) \
IIO_DEVICE_ATTR(accel_z_scale, _mode, _show, _store, _addr)
#define IIO_DEV_ATTR_ACCEL_CALIBBIAS(_mode, _show, _store, _addr) \
IIO_DEVICE_ATTR(accel_calibbias, _mode, _show, _store, _addr)
#define IIO_DEV_ATTR_ACCEL_X_CALIBBIAS(_mode, _show, _store, _addr) \
IIO_DEVICE_ATTR(accel_x_calibbias, _mode, _show, _store, _addr)
#define IIO_DEV_ATTR_ACCEL_Y_CALIBBIAS(_mode, _show, _store, _addr) \
IIO_DEVICE_ATTR(accel_y_calibbias, _mode, _show, _store, _addr)
#define IIO_DEV_ATTR_ACCEL_Z_CALIBBIAS(_mode, _show, _store, _addr) \
IIO_DEVICE_ATTR(accel_z_calibbias, _mode, _show, _store, _addr)
#define IIO_DEV_ATTR_ACCEL_CALIBSCALE(_mode, _show, _store, _addr) \
IIO_DEVICE_ATTR(accel_calibscale, _mode, _show, _store, _addr)
#define IIO_DEV_ATTR_ACCEL_X_CALIBSCALE(_mode, _show, _store, _addr) \
IIO_DEVICE_ATTR(accel_x_calibscale, _mode, _show, _store, _addr)
#define IIO_DEV_ATTR_ACCEL_Y_CALIBSCALE(_mode, _show, _store, _addr) \
IIO_DEVICE_ATTR(accel_y_calibscale, _mode, _show, _store, _addr)
#define IIO_DEV_ATTR_ACCEL_Z_CALIBSCALE(_mode, _show, _store, _addr) \
IIO_DEVICE_ATTR(accel_z_calibscale, _mode, _show, _store, _addr)
#define IIO_DEV_ATTR_ACCEL(_show, _addr) \
IIO_DEVICE_ATTR(accel_raw, S_IRUGO, _show, NULL, _addr)
#define IIO_DEV_ATTR_ACCEL_X(_show, _addr) \
IIO_DEVICE_ATTR(accel_x_raw, S_IRUGO, _show, NULL, _addr)
#define IIO_DEV_ATTR_ACCEL_Y(_show, _addr) \
IIO_DEVICE_ATTR(accel_y_raw, S_IRUGO, _show, NULL, _addr)
#define IIO_DEV_ATTR_ACCEL_Z(_show, _addr) \
IIO_DEVICE_ATTR(accel_z_raw, S_IRUGO, _show, NULL, _addr)
#define IIO_DEV_ATTR_ACCEL_XY(_show, _addr) \
IIO_DEVICE_ATTR(accel_xy, S_IRUGO, _show, NULL, _addr)
#define IIO_DEV_ATTR_ACCEL_PEAK(_show, _addr) \
IIO_DEVICE_ATTR(accel_peak, S_IRUGO, _show, NULL, _addr)
#define IIO_DEV_ATTR_ACCEL_XPEAK(_show, _addr) \
IIO_DEVICE_ATTR(accel_xpeak, S_IRUGO, _show, NULL, _addr)
#define IIO_DEV_ATTR_ACCEL_YPEAK(_show, _addr) \
IIO_DEVICE_ATTR(accel_ypeak, S_IRUGO, _show, NULL, _addr)
#define IIO_DEV_ATTR_ACCEL_ZPEAK(_show, _addr) \
IIO_DEVICE_ATTR(accel_zpeak, S_IRUGO, _show, NULL, _addr)
#define IIO_DEV_ATTR_ACCEL_XYPEAK(_show, _addr) \
IIO_DEVICE_ATTR(accel_xypeak, S_IRUGO, _show, NULL, _addr)
#define IIO_DEV_ATTR_ACCEL_XYZPEAK(_show, _addr) \
IIO_DEVICE_ATTR(accel_xyzpeak, S_IRUGO, _show, NULL, _addr)