usb: phy: bcm-kona-usb2: Use PTR_ERR_OR_ZERO
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 3 Feb 2014 08:25:05 +0000 (13:55 +0530)
committerKishon Vijay Abraham I <kishon@ti.com>
Sat, 1 Mar 2014 18:56:26 +0000 (00:26 +0530)
commite4b9f782fe923e75cf47d369b770c49c33dfb39d
treecbe81a43fc80d5c2b3a433451818e53b3179cc96
parented093e6109865f8ee62c98fc002c04ae25fcd109
usb: phy: bcm-kona-usb2: Use PTR_ERR_OR_ZERO

PTR_ERR_OR_ZERO simplifies the code.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Matt Porter <mporter@linaro.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-bcm-kona-usb2.c