Skip to content

rtc: convert several drivers to dev_err_probe()

Balakrishnan Sambath linux-rtc lkml 1 version In review

Get series with b4
b4 am 20260528-cleanup-dev-err-probe-rtc-v1-0-29dc9cb6c3f0@microchip.com change-id 20260528-cleanup-dev-err-probe-rtc-bc44f6ccbc01

Versions newest first

  1. v1 Latest4 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4rtc: palmas: convert to dev_err_probe()drivers/rtc/rtc-palmas.c+7 -141 reply
2/4rtc: moxart: convert to dev_err_probe()drivers/rtc/rtc-moxart.c+9 -161 reply
3/4rtc: sc27xx: convert to dev_err_probe()drivers/rtc/rtc-sc27xx.c+8 -161 reply
4/4rtc: s35390a: convert to dev_err_probe()drivers/rtc/rtc-s35390a.c+6 -124 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchAlexandre Mergnat
1/4R-b
2/4R-b
3/4R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] rtc: convert several drivers to dev_err_probe()

Use dev_err_probe() in place of dev_err() and return across four rtc drivers, which communicates the error type and helps debugging hardware issues.

Build-tested with x86_64 allmodconfig. No functional change.

---
Balakrishnan Sambath (4):
rtc: palmas: convert to dev_err_probe()
rtc: moxart: convert to dev_err_probe()
rtc: sc27xx: convert to dev_err_probe()
rtc: s35390a: convert to dev_err_probe()

 drivers/rtc/rtc-moxart.c  | 25 +++++++++----------------
 drivers/rtc/rtc-palmas.c  | 21 +++++++--------------
 drivers/rtc/rtc-s35390a.c | 18 ++++++------------
 drivers/rtc/rtc-sc27xx.c  | 24 ++++++++----------------
 4 files changed, 30 insertions(+), 58 deletions(-)

---
base-commit: b72386864481cf7fb6153842d22561ac3032302f
change-id: 20260528-cleanup-dev-err-probe-rtc-bc44f6ccbc01

Best regards,

Signature · 1 line
Balakrishnan Sambath <[email protected]>