The issue is detected with the help of Coccinelle.

v1->v2:
 - According to Florian's suggestion, change the subject of the patch.

zhong jiang (2):
  phy:phy-brcm-usb: Use PTR_ERR_OR_ZERO to replace the open coded
    version
  phy:phy-lantiq-rcu-usb2: Use PTR_ERR_OR_ZERO to replace the open
    coded version

 drivers/phy/broadcom/phy-brcm-usb.c      | 4 +---
 drivers/phy/lantiq/phy-lantiq-rcu-usb2.c | 4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

-- 
1.7.12.4

Reply via email to