From 67c0fbb942db9f129e9f12545c0f28aa256b494f Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Wed, 5 Oct 2016 16:26:11 +0900 Subject: drm/exynos/hdmi: remove unused hdmiphy_poweron() The function hdmiphy_poweron() is not used anymore, so this patch removes it. This patch fixes following build warning. drivers/gpu/drm/exynos/exynos_hdmi.c:1897:13: warning: 'hdmiphy_poweron' defined but not used [-Wunused-function] static void hdmiphy_poweron(struct hdmi_context *hdata) ^ Change-Id: I4c51b45becf8f52ef85020c7e1628d7baad90670 Signed-off-by: Seung-Woo Kim --- drivers/gpu/drm/exynos/exynos_hdmi.c | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'drivers/gpu/drm/exynos') diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index 9f099a078d40..3e526ccdc7e7 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c @@ -1894,26 +1894,6 @@ static void hdmiphy_conf_reset(struct hdmi_context *hdata) usleep_range(10000, 12000); } -static void hdmiphy_poweron(struct hdmi_context *hdata) -{ - if (hdata->type == HDMI_TYPE13) - return; - - DRM_DEBUG_KMS("\n"); - - /* For PHY Mode Setting */ - hdmiphy_reg_writeb(hdata, HDMIPHY_MODE_SET_DONE, - HDMI_PHY_ENABLE_MODE_SET); - /* Phy Power On */ - hdmiphy_reg_writeb(hdata, HDMIPHY_POWER, - HDMI_PHY_POWER_ON); - /* For PHY Mode Setting */ - hdmiphy_reg_writeb(hdata, HDMIPHY_MODE_SET_DONE, - HDMI_PHY_DISABLE_MODE_SET); - /* PHY SW Reset */ - hdmiphy_conf_reset(hdata); -} - static void hdmiphy_poweroff(struct hdmi_context *hdata) { if (!hdata->phy_enabled) -- cgit v1.2.3