phy: Use PTR_ERR_OR_ZERO to fix warning raised by coccinelle
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Thu, 13 Nov 2014 11:47:43 +0000 (12:47 +0100)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 26 Nov 2014 05:37:13 +0000 (11:07 +0530)
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR

Generated by: coccinelle/api/ptr_ret.cocci

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>

No differences found