phy: exynos-dp-video: Kill exynos_dp_video_phy_pwr_isol function
authorAxel Lin <axel.lin@ingics.com>
Fri, 27 Feb 2015 04:34:10 +0000 (12:34 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Thu, 12 Mar 2015 05:31:15 +0000 (11:01 +0530)
commit0f9722e37f8359e228f4c04e6822ad0bf9a4e083
tree4388e6ec12566ab6593a21c7f7e53a8049fd115d
parentaf69decc7ca80fa24c77a5a00234f1cd2a957de8
phy: exynos-dp-video: Kill exynos_dp_video_phy_pwr_isol function

If IS_ERR(state->regs) the .probe fails.
So IS_ERR(state->regs) test in exynos_dp_video_phy_pwr_isol() is not necessary.
exynos_dp_video_phy_pwr_isol() simply does a regmap_update_bits() call now,
just call regmap_update_bits() instead and return proper return value.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-exynos-dp-video.c