drm/exynos/hdmi: remove unused hdmiphy_poweron() 68/90968/1
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 5 Oct 2016 07:26:11 +0000 (16:26 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 5 Oct 2016 07:26:14 +0000 (16:26 +0900)
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 <sw0312.kim@samsung.com>
drivers/gpu/drm/exynos/exynos_hdmi.c

index 9f099a078d406308c0d9b31058874214e0efc670..3e526ccdc7e787aa54ba1a18cfb740686e56eb65 100644 (file)
@@ -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)