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(-) -- 2.17.1