aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMehdi Djait <mehdi.djait.k@gmail.com>2023-01-29 14:37:46 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2023-03-11 12:18:27 +0000
commite932fb64c017dccbee44b7ee781584dbc65449ed (patch)
treeac662764c91d0a32c5b058215195d3f591dd93d5
parent8b6f18a0e20daee13be77970acf410a7fda6d0b8 (diff)
downloadiio-e932fb64c017dccbee44b7ee781584dbc65449ed.tar.gz
iio: accel: kionix-kx022a: Remove the unused member g_range
The g_range member of the driver data struct is not used and should therefore be removed. Signed-off-by: Mehdi Djait <mehdi.djait.k@gmail.com> Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com> Link: https://lore.kernel.org/r/e884d53fed0d8322d8be1de2593d4f5f8975af9c.1674996464.git.mehdi.djait.k@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--drivers/iio/accel/kionix-kx022a.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/accel/kionix-kx022a.c b/drivers/iio/accel/kionix-kx022a.c
index f866859855cdd..9f8c7631f0987 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;