phy: exynos-mipi-video: Use PTR_ERR_OR_ZERO
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 29 May 2014 06:30:48 +0000 (12:00 +0530)
committerKishon Vijay Abraham I <kishon@ti.com>
Tue, 22 Jul 2014 07:16:09 +0000 (12:46 +0530)
commit22fda307ca53f18a179c38ac10a0bc4293dd9f21
treee9bf2cdb130ce454fbb280cafea0fce09270a015
parentbbe21b2a9bb807957baf36e659bfe2aedc51e5ea
phy: exynos-mipi-video: Use PTR_ERR_OR_ZERO

PTR_ERR_OR_ZERO simplifies the code.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-exynos-mipi-video.c