diff options
author | Seung-Woo Kim <sw0312.kim@samsung.com> | 2016-10-05 16:26:11 +0900 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2016-12-14 13:53:03 +0900 |
commit | 67c0fbb942db9f129e9f12545c0f28aa256b494f (patch) | |
tree | 1609c7c7710adbce0d97d4d24da06a84305c6527 /drivers/gpu/drm/exynos | |
parent | 710bd6bb2539a9a8418d0390e8fdba21694581b0 (diff) |
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 <sw0312.kim@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_hdmi.c | 20 |
1 files changed, 0 insertions, 20 deletions
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) |