[PATCH 00/10] i2c: Replace dev_err() with dev_err_probe()

Atharv Dubey
2026-03-24T18:27:10Z

This patch series replaces dev_err() with dev_err_probe() in the probe()
functions of each module.

This simplifies the code and improves logs.

---
This Patch series was intially sent out by Encrio[1],
this series is an effort to get it reviewed and upstream
it.

[1]: https://lore.kernel.org/all/20250520194400.341079-3-e.zanda1@gmail.com/t/#u

---
Enrico Zanda (10):
i2c: tiny-usb: Replace dev_err() with dev_err_probe() in probe function
i2c: tegra: Replace dev_err() with dev_err_probe() in probe function
i2c: sun6i-p2wi: Replace dev_err() with dev_err_probe() in probe function
i2c: stm32f7: Replace dev_err() with dev_err_probe() in probe function
i2c: stm32f4: Replace dev_err() with dev_err_probe() in probe function
i2c: stm32: Replace dev_err() with dev_err_probe() in probe function
i2c: st: Replace dev_err() with dev_err_probe() in probe function
i2c: sprd: Replace dev_err() with dev_err_probe() in probe function
i2c: sis96x: Replace dev_err() with dev_err_probe() in probe function
i2c: sis630: Replace dev_err() with dev_err_probe() in probe function

drivers/i2c/busses/i2c-sis630.c | 31 +++++++--------
drivers/i2c/busses/i2c-sis96x.c | 30 +++++++-------
drivers/i2c/busses/i2c-sprd.c | 13 +++----
drivers/i2c/busses/i2c-st.c | 34 +++++++---------
drivers/i2c/busses/i2c-stm32.c | 4 +-
drivers/i2c/busses/i2c-stm32f4.c | 53 ++++++++++---------------
drivers/i2c/busses/i2c-stm32f7.c | 78 ++++++++++++++-----------------------
drivers/i2c/busses/i2c-sun6i-p2wi.c | 55 ++++++++++----------------
drivers/i2c/busses/i2c-tegra.c | 12 +++---
drivers/i2c/busses/i2c-tiny-usb.c | 5 +--
10 files changed, 127 insertions(+), 188 deletions(-)
---
base-commit: c612261bedd6bbab7109f798715e449c9d20ff2f
change-id: 20260324-deverr-4b0b0e50195c

Best regards,
--
Atharv Dubey <atharvd440@gmail.com>