[PATCH 00/10] iio: drop redundant iio_dev argument from hid_sensor_remove_trigger()

Sanjay Chitroda
2026-04-28T07:16:20Z

The iio_dev argument has been unused since buffer cleanup moved out of
hid_sensor_remove_trigger(). All required resources are tracked via
hid_sensor_common, making the extra argument redundant and allowing
future devm conversion.

This is a mechanical change with no functional impact.

Testing:
- Compiled with W=1
- Build-tested on QEMU x86_64

Feedback and reviews are very welcome.

Thanks,
Sanjay Chitroda

Sanjay Chitroda (10):
iio: hid-sensors: drop redundant iio_dev argument
iio: orientation: adapt to hid_sensor_remove_trigger() API change
iio: gyro: adapt to hid_sensor_remove_trigger() API change
iio: pressure: adapt to hid_sensor_remove_trigger() API change
iio: temperature: adapt to hid_sensor_remove_trigger() API change
iio: humidity: adapt to hid_sensor_remove_trigger() API change
iio: light: adapt to hid_sensor_remove_trigger() API change
iio: magnetometer: adapt to hid_sensor_remove_trigger() API change
iio: position: adapt to hid_sensor_remove_trigger() API change
iio: accel: adapt to hid_sensor_remove_trigger() API change

drivers/iio/accel/hid-sensor-accel-3d.c | 4 ++--
drivers/iio/common/hid-sensors/hid-sensor-trigger.c | 3 +--
drivers/iio/common/hid-sensors/hid-sensor-trigger.h | 3 +--
drivers/iio/gyro/hid-sensor-gyro-3d.c | 4 ++--
drivers/iio/humidity/hid-sensor-humidity.c | 4 ++--
drivers/iio/light/hid-sensor-als.c | 4 ++--
drivers/iio/light/hid-sensor-prox.c | 4 ++--
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 ++--
drivers/iio/position/hid-sensor-custom-intel-hinge.c | 4 ++--
drivers/iio/pressure/hid-sensor-press.c | 4 ++--
drivers/iio/temperature/hid-sensor-temperature.c | 4 ++--
13 files changed, 24 insertions(+), 26 deletions(-)

base-commit: eade2b843d9b1f668fc1775f15611bb0a1999cd9
--
2.34.1