On 09/05/10 23:05, achew@xxxxxxxxxx wrote: > From: Andrew Chew <achew@xxxxxxxxxx> > > Per email exchange with Jonathan Cameron, GAIN should instead be SCALE, to > be consistent with documentation. > > Signed-off-by: Andrew Chew <achew@xxxxxxxxxx> Acked-by: Jonathan Cameron <jic23@xxxxxxxxx> Please send this one on to Greg KH with your driver (when that is ready). That will make it apparent why these are there at all! Thanks, Jonathan > --- > drivers/staging/iio/magnetometer/magnet.h | 12 ++++++------ > 1 files changed, 6 insertions(+), 6 deletions(-) > > diff --git a/drivers/staging/iio/magnetometer/magnet.h b/drivers/staging/iio/magnetometer/magnet.h > index 6433830..1260eb7 100644 > --- a/drivers/staging/iio/magnetometer/magnet.h > +++ b/drivers/staging/iio/magnetometer/magnet.h > @@ -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) -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html