Skip to content
Commit 9be08a27 authored by zhong jiang's avatar zhong jiang Committed by Kishon Vijay Abraham I
Browse files

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: default avatarzhong jiang <zhongjiang@huawei.com>
Acked-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent 52864814
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment