[PATCH 0/2] phy: Use PTR_ERR_OR_ZERO to replace the open code

From: zhong jiang
Date: Mon Aug 13 2018 - 07:36:38 EST


The issue is detected with the help of Coccinelle.

zhong jiang (2):
phy:phy-brcm-us: Use PTR_ERR_OR_ZERO to replace the open code
phy:phy-lantiq-rcu-usb2: Use PTR_ERR_OR_ZERO to replace the open code

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