[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240902222824.1145571-1-andy.shevchenko@gmail.com>
Date: Tue, 3 Sep 2024 01:16:45 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Jonathan Cameron <Jonathan.Cameron@...wei.com>,
David Lechner <dlechner@...libre.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Michael Hennerich <michael.hennerich@...log.com>,
Antoniu Miclaus <antoniu.miclaus@...log.com>,
Jinjie Ruan <ruanjinjie@...wei.com>,
Lorenzo Bianconi <lorenzo@...nel.org>,
Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>,
Basavaraj Natikar <Basavaraj.Natikar@....com>,
linux-input@...r.kernel.org,
linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Jiri Kosina <jikos@...nel.org>,
Jonathan Cameron <jic23@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>,
Michael Hennerich <Michael.Hennerich@...log.com>,
Andy Shevchenko <andy.shevchenko@...il.com>
Subject: [PATCH v1 00/22] iio: use dev_get_platdata() to access platform_data
Unify how IIO drivers access platform_data field of struct device.
In simple and straightforward cases constify the local variables.
(Not tested)
Andy Shevchenko (22):
iio: accel: hid-sensor-accel-3d: Get platform data via
dev_get_platdata()
iio: adc: ad7266: Get platform data via dev_get_platdata()
iio: adc: ad7791: Get platform data via dev_get_platdata()
iio: adc: ad7887: Get platform data via dev_get_platdata()
iio: adc: ad7793: Get platform data via dev_get_platdata()
iio: adc: ltc2497: Get platform data via dev_get_platdata()
iio: dac: ad5504: Get platform data via dev_get_platdata()
iio: dac: ad5791: Get platform data via dev_get_platdata()
iio: dac: m62332: Get platform data via dev_get_platdata()
iio: dac: max517: Get platform data via dev_get_platdata()
iio: frequency: ad9523: Get platform data via dev_get_platdata()
iio: frequency: adf4350: Get platform data via dev_get_platdata()
iio: gyro: hid-sensor-gyro-3d: Get platform data via
dev_get_platdata()
iio: imu: st_lsm6dsx: Get platform data via dev_get_platdata()
iio: light: hid-sensor-als: Get platform data via dev_get_platdata()
iio: light: hid-sensor-prox: Get platform data via dev_get_platdata()
iio: light: lm3533-als: Get platform data via dev_get_platdata()
iio: magnetometer: hid-sensor-magn-3d: Get platform data via
dev_get_platdata()
iio: orientation: hid-sensor-incl-3d: Get platform data via
dev_get_platdata()
iio: orientation: hid-sensor-rotation: Get platform data via
dev_get_platdata()
iio: position: hid-sensor-custom-intel-hinge: Get platform data via
dev_get_platdata()
iio: pressure: hid-sensor-press: Get platform data via
dev_get_platdata()
drivers/iio/accel/hid-sensor-accel-3d.c | 5 ++---
drivers/iio/adc/ad7266.c | 2 +-
drivers/iio/adc/ad7791.c | 4 ++--
drivers/iio/adc/ad7793.c | 2 +-
drivers/iio/adc/ad7887.c | 2 +-
drivers/iio/adc/ltc2497-core.c | 15 +++++----------
drivers/iio/dac/ad5504.c | 2 +-
drivers/iio/dac/ad5791.c | 2 +-
drivers/iio/dac/m62332.c | 2 +-
drivers/iio/dac/max517.c | 4 ++--
drivers/iio/frequency/ad9523.c | 2 +-
drivers/iio/frequency/adf4350.c | 2 +-
drivers/iio/gyro/hid-sensor-gyro-3d.c | 4 ++--
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c | 15 +++++----------
drivers/iio/light/hid-sensor-als.c | 4 ++--
drivers/iio/light/hid-sensor-prox.c | 4 ++--
drivers/iio/light/lm3533-als.c | 6 +++---
drivers/iio/magnetometer/hid-sensor-magn-3d.c | 4 ++--
drivers/iio/orientation/hid-sensor-incl-3d.c | 4 ++--
drivers/iio/orientation/hid-sensor-rotation.c | 4 ++--
.../iio/position/hid-sensor-custom-intel-hinge.c | 4 ++--
drivers/iio/pressure/hid-sensor-press.c | 4 ++--
22 files changed, 43 insertions(+), 54 deletions(-)
--
2.46.0
Powered by blists - more mailing lists