]> git.baikalelectronics.ru Git - kernel.git/commit
phy: sun4i-usb: Use PTR_ERR_OR_ZERO
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 29 May 2014 06:30:49 +0000 (12:00 +0530)
committerKishon Vijay Abraham I <kishon@ti.com>
Tue, 22 Jul 2014 07:16:09 +0000 (12:46 +0530)
commit84dbbbbf37a23c10763f130cda35b84e8caeeac5
treefae73e0c63af4e54a7d3015517290505238ed33f
parent92a1116d438d76e8e8e82c16431cf5121880f70f
phy: sun4i-usb: Use PTR_ERR_OR_ZERO

PTR_ERR_OR_ZERO simplifies the code.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-sun4i-usb.c