mbox series

[RESEND,0/4] phy: Use dev_err_probe() to simplify code

Message ID 20220924070300.25080-1-yuancan@huawei.com (mailing list archive)
Headers show
Series phy: Use dev_err_probe() to simplify code | expand

Message

Yuan Can Sept. 24, 2022, 7:02 a.m. UTC
This series simplify the error handling in probe function by
switching from dev_err() to dev_err_probe().

Yuan Can (4):
  phy: qcom-qmp-combo: Use dev_err_probe() to simplify code
  phy: qcom-qmp-pcie-msm8996: Use dev_err_probe() to simplify code
  phy: qcom-qmp-ufs: Use dev_err_probe() to simplify code
  phy: qcom-qmp-usb: Use dev_err_probe() to simplify code

 drivers/phy/qualcomm/phy-qcom-qmp-combo.c     | 21 +++++++------------
 .../phy/qualcomm/phy-qcom-qmp-pcie-msm8996.c  |  9 +++-----
 drivers/phy/qualcomm/phy-qcom-qmp-ufs.c       |  9 +++-----
 drivers/phy/qualcomm/phy-qcom-qmp-usb.c       |  9 +++-----
 4 files changed, 16 insertions(+), 32 deletions(-)

Comments

Vinod Koul Sept. 24, 2022, 7:33 a.m. UTC | #1
On 24-09-22, 07:02, Yuan Can wrote:
> This series simplify the error handling in probe function by
> switching from dev_err() to dev_err_probe().

Applied, thanks