diff options
author | Mehdi Djait <mehdi.djait.k@gmail.com> | 2023-01-29 16:37:46 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-03-11 15:18:27 +0300 |
commit | e932fb64c017dccbee44b7ee781584dbc65449ed (patch) | |
tree | ac662764c91d0a32c5b058215195d3f591dd93d5 /drivers/iio/accel | |
parent | 8b6f18a0e20daee13be77970acf410a7fda6d0b8 (diff) | |
download | linux-e932fb64c017dccbee44b7ee781584dbc65449ed.tar.xz |
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>
Diffstat (limited to 'drivers/iio/accel')
-rw-r--r-- | drivers/iio/accel/kionix-kx022a.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/accel/kionix-kx022a.c b/drivers/iio/accel/kionix-kx022a.c index f866859855cd..9f8c7631f098 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; |