summaryrefslogtreecommitdiff
path: root/drivers/phy/lantiq
diff options
context:
space:
mode:
authorzhong jiang <zhongjiang@huawei.com>2018-08-16 18:58:54 +0300
committerKishon Vijay Abraham I <kishon@ti.com>2018-09-10 11:58:21 +0300
commit528648143354e0551087adfad27c174083316ca3 (patch)
tree8fcb4b52d122d86577d3b391be4804fe51712c65 /drivers/phy/lantiq
parenteee0e5daa7574208f84fc24bc829ece58ef021f1 (diff)
downloadlinux-528648143354e0551087adfad27c174083316ca3.tar.xz
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>
Diffstat (limited to 'drivers/phy/lantiq')
0 files changed, 0 insertions, 0 deletions