From: Axel Lin Date: Fri, 27 Feb 2015 04:34:10 +0000 (+0800) Subject: phy: exynos-dp-video: Kill exynos_dp_video_phy_pwr_isol function X-Git-Tag: omap-for-v4.2/o2_dc~276^2~5^2~12 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f9722e37f8359e228f4c04e6822ad0bf9a4e083;p=pandora-kernel.git 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 Reviewed-by: Sylwester Nawrocki Signed-off-by: Kishon Vijay Abraham I --- Reading git-diff-tree failed