diff options
author | zhong jiang <zhongjiang@huawei.com> | 2018-08-16 17:58:55 +0200 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2018-09-10 10:58:37 +0200 |
commit | 9be08a27a1588d0b0143486f96c7a08f8cfadae8 (patch) | |
tree | 683156d256a743ec4c7b72354f0d8721943ccad5 /drivers/Kconfig | |
parent | phy:phy-brcm-usb: Use PTR_ERR_OR_ZERO to replace the open coded version (diff) | |
download | linux-9be08a27a1588d0b0143486f96c7a08f8cfadae8.tar.xz linux-9be08a27a1588d0b0143486f96c7a08f8cfadae8.zip |
phy:phy-lantiq-rcu-usb2: 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>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/Kconfig')
0 files changed, 0 insertions, 0 deletions