mbox series

[0/4] Simplify code with dev_err_probe()

Message ID 20240909122921.12627-1-zhangzekun11@huawei.com
Headers show
Series Simplify code with dev_err_probe() | expand

Message

Zhang Zekun Sept. 9, 2024, 12:29 p.m. UTC
Use dev_err_probe() to simplify code, and we can avoid judging
if the error code is not equal to -EPROBE_DEFER

Zhang Zekun (4):
  soc: qcom: rpmh-rsc: Simplify code with dev_err_probe()
  soc: aspeed: Simplify code with dev_err_probe()
  soc: qcom: smem: Simplify code with dev_err_probe()
  soc: qcom: smp2p: Simplify code with dev_err_probe()

 drivers/soc/aspeed/aspeed-lpc-snoop.c | 10 ++++------
 drivers/soc/qcom/rpmh-rsc.c           |  9 +++------
 drivers/soc/qcom/smem.c               |  8 +++-----
 drivers/soc/qcom/smp2p.c              |  9 +++------
 4 files changed, 13 insertions(+), 23 deletions(-)

Comments

Bjorn Andersson Nov. 4, 2024, 4:13 a.m. UTC | #1
On Mon, 09 Sep 2024 20:29:17 +0800, Zhang Zekun wrote:
> Use dev_err_probe() to simplify code, and we can avoid judging
> if the error code is not equal to -EPROBE_DEFER
> 
> Zhang Zekun (4):
>   soc: qcom: rpmh-rsc: Simplify code with dev_err_probe()
>   soc: aspeed: Simplify code with dev_err_probe()
>   soc: qcom: smem: Simplify code with dev_err_probe()
>   soc: qcom: smp2p: Simplify code with dev_err_probe()
> 
> [...]

Applied, thanks!

[1/4] soc: qcom: rpmh-rsc: Simplify code with dev_err_probe()
      commit: 454381b5236c22ff5995aab5db4f640d34f9ea98
[3/4] soc: qcom: smem: Simplify code with dev_err_probe()
      commit: 876b405004842b10a684f06f967502d20d64384f
[4/4] soc: qcom: smp2p: Simplify code with dev_err_probe()
      commit: cd8ec43758a5ca91c5503d1cde2df95e05b968ca

Best regards,