On Mon, 30 Jan 2023 10:17:00 +0200 Matti Vaittinen <mazziesaccount@xxxxxxxxx> wrote: > On 1/29/23 15:37, Mehdi Djait wrote: > > The g_range member of the driver data struct is not used and > > should therefore be removed > > Well spotted, thanks. > > > > > Signed-off-by: Mehdi Djait <mehdi.djait.k@xxxxxxxxx> > Reviewed-by: Matti Vaittinen <mazziesaccount@xxxxxxxxx> Applied > > > --- > > drivers/iio/accel/kionix-kx022a.c | 1 - > > 1 file changed, 1 deletion(-) > > > > diff --git a/drivers/iio/accel/kionix-kx022a.c b/drivers/iio/accel/kionix-kx022a.c > > index 1d3af42ec0e1..bb43cb0acce4 100644 > > --- a/drivers/iio/accel/kionix-kx022a.c > > +++ b/drivers/iio/accel/kionix-kx022a.c > > @@ -162,7 +162,6 @@ struct kx022a_data { > > int inc_reg; > > int ien_reg; > > > > - unsigned int g_range; > > unsigned int state; > > unsigned int odr_ns; > > >