[PATCH 0/3] HID: iio: callback API signature match for usage_id

From: Sanjay Chitroda

Date: Tue Jun 16 2026 - 09:25:45 EST


Hi all,

Most of HID IIO driver has correct 'u32' type of usage_id with
https://lore.kernel.org/all/20260610-6-june-hid-iio-correct-usage-id-v2-0-c3c5f0720493@xxxxxxxxx/
series which is applied on iio/testing branch.

On top of the same, this series updates remaining HID IIO drivers
to use 'u32' for the usage_id parameter.

Pending list of HID IIO drivers are extracted with command line:
find drivers/iio/ -type f -name "*hid*" | xargs grep -A 5 static | \
grep -E -A 5 "_proc_event\(|_capture_sample\(|_parse_report\(" --color | \
grep usage_id

This matches expected callback API type as HID usage IDs are
defined as 32-bit values.

No functional changes are introduced.

Testing:
- Compiled with W=1 for each patch in the series

Signed-off-by: Sanjay Chitroda <sanjayembeddedse@xxxxxxxxx>
---
Sanjay Chitroda (3):
iio: hid-sensor-temperature: use u32 instead of unsigned int
iio: hid-sensor-humidity: use u32 instead of unsigned int
iio: hid-sensor-custom-intel-hinge: use u32 instead of unsigned int

drivers/iio/humidity/hid-sensor-humidity.c | 6 +++---
drivers/iio/position/hid-sensor-custom-intel-hinge.c | 6 +++---
drivers/iio/temperature/hid-sensor-temperature.c | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
---
base-commit: a50909aa46dec46de3c73235fc15a7d6f763d996
change-id: 20260616-16-jun-hid-iio-u32-api-type-180e8f0b2c37

Best regards,
--
Sanjay Chitroda <sanjayembeddedse@xxxxxxxxx>