OSDN Git Service

phy: berlin-usb: Use PTR_ERR_OR_ZERO
authorAxel Lin <axel.lin@ingics.com>
Sun, 1 Mar 2015 14:31:34 +0000 (22:31 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Tue, 10 Mar 2015 08:42:27 +0000 (14:12 +0530)
commit82ffb676c820629b7f1b62d15f6bc546f29a7025
treee876491101314cb1d9c0edd0458f02db5f456e12
parentc517d838eb7d07bbe9507871fab3931deccff539
phy: berlin-usb: Use PTR_ERR_OR_ZERO

PTR_ERR_OR_ZERO simplifies the code.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-berlin-usb.c