staging: iio: Change GAIN macros to SCALE.
Per email exchange with Jonathan Cameron, GAIN should instead be SCALE, to be consistent with documentation. Resending, since this goes with the 2/2 patch. Signed-off-by: Andrew Chew <achew@nvidia.com> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Родитель
9e795a5232
Коммит
7223234ee0
|
@ -12,14 +12,14 @@
|
|||
#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_GAIN(_mode, _show, _store, _addr) \
|
||||
IIO_DEVICE_ATTR(magn_x_gain, _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_GAIN(_mode, _show, _store, _addr) \
|
||||
IIO_DEVICE_ATTR(magn_y_gain, _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_GAIN(_mode, _show, _store, _addr) \
|
||||
IIO_DEVICE_ATTR(magn_z_gain, _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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче