phy:phy-brcm-usb: Use PTR_ERR_OR_ZERO to replace the open coded version
authorzhong jiang <zhongjiang@huawei.com>
Thu, 16 Aug 2018 15:58:54 +0000 (23:58 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Mon, 10 Sep 2018 08:58:21 +0000 (14:28 +0530)
commit528648143354e0551087adfad27c174083316ca3
tree8fcb4b52d122d86577d3b391be4804fe51712c65
parenteee0e5daa7574208f84fc24bc829ece58ef021f1
phy:phy-brcm-usb: Use PTR_ERR_OR_ZERO to replace the open coded version

PTR_ERR_OR_ZERO has implemented the if(IS_ERR(...)) + PTR_ERR, So
just replace them rather than duplicating its implement.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/broadcom/phy-brcm-usb.c