]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit06842101f51f00dca311e4ed18149ae99d6c1d05
tree4388e6ec12566ab6593a21c7f7e53a8049fd115d
parentbfbf40f76d8ddd21eb3d48411642c807186b69f9
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