staging:iio:magnetometer: remove unused header magnet.h
Now all magnetomers are using iio_chan_spec there is no need for the macros in magnet.h Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
694e1b5f95
commit
765f88f2ea
@ -1,31 +0,0 @@
|
||||
|
||||
#include "../sysfs.h"
|
||||
|
||||
/* Magnetometer types of attribute */
|
||||
|
||||
#define IIO_DEV_ATTR_MAGN_X_OFFSET(_mode, _show, _store, _addr) \
|
||||
IIO_DEVICE_ATTR(magn_x_offset, _mode, _show, _store, _addr)
|
||||
|
||||
#define IIO_DEV_ATTR_MAGN_Y_OFFSET(_mode, _show, _store, _addr) \
|
||||
IIO_DEVICE_ATTR(magn_y_offset, _mode, _show, _store, _addr)
|
||||
|
||||
#define IIO_DEV_ATTR_MAGN_Z_OFFSET(_mode, _show, _store, _addr) \
|
||||
IIO_DEVICE_ATTR(magn_z_offset, _mode, _show, _store, _addr)
|
||||
|
||||
#define IIO_DEV_ATTR_MAGN_X_SCALE(_mode, _show, _store, _addr) \
|
||||
IIO_DEVICE_ATTR(magn_x_scale, _mode, _show, _store, _addr)
|
||||
|
||||
#define IIO_DEV_ATTR_MAGN_Y_SCALE(_mode, _show, _store, _addr) \
|
||||
IIO_DEVICE_ATTR(magn_y_scale, _mode, _show, _store, _addr)
|
||||
|
||||
#define IIO_DEV_ATTR_MAGN_Z_SCALE(_mode, _show, _store, _addr) \
|
||||
IIO_DEVICE_ATTR(magn_z_scale, _mode, _show, _store, _addr)
|
||||
|
||||
#define IIO_DEV_ATTR_MAGN_X(_show, _addr) \
|
||||
IIO_DEVICE_ATTR(magn_x_raw, S_IRUGO, _show, NULL, _addr)
|
||||
|
||||
#define IIO_DEV_ATTR_MAGN_Y(_show, _addr) \
|
||||
IIO_DEVICE_ATTR(magn_y_raw, S_IRUGO, _show, NULL, _addr)
|
||||
|
||||
#define IIO_DEV_ATTR_MAGN_Z(_show, _addr) \
|
||||
IIO_DEVICE_ATTR(magn_z_raw, S_IRUGO, _show, NULL, _addr)
|
Loading…
Reference in New Issue
Block a user