[PATCHv2 0/2] phy: Use PTR_ERR_OR_ZERO to replace the open coded version
From: zhong jiang
Date: Thu Aug 16 2018 - 12:10:54 EST
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