[PATCH v2 0/2] HID: iio: gyro: hid-sensor-gyro-3d: probe cleanup

From: Sanjay Chitroda via B4 Relay

Date: Fri Jul 24 2026 - 13:27:58 EST


Hi all,

This series cleans up probe error handling in the hid-sensor-gyro-3d
driver by removing redundant dev_err() calls and replacing remaining
dev_err() with dev_err_probe() to simplify error handling.

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

---
Changes in v2:
- EDITME: describe what is new in this series revision.
- EDITME: use bulletpoints and terse descriptions.
- Link to v1: https://patch.msgid.link/20260724-24-july-hid-gyro-dev-log-clenaup-v1-0-0c932b77104a@xxxxxxxxx

---
Sanjay Chitroda (2):
iio: gyro: hid-sensor-gyro-3d: Remove redundant dev_err()
iio: gyro: hid-sensor-gyro-3d: Use dev_err_probe()

drivers/iio/gyro/hid-sensor-gyro-3d.c | 35 ++++++++++++-----------------------
1 file changed, 12 insertions(+), 23 deletions(-)
---
base-commit: 36c12dbda81c284d72f3c64689461647497b643b
change-id: 20260724-24-july-hid-gyro-dev-log-clenaup-488534e25965

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