OMAPDSS: HDMI: remove unused defines
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 23 May 2014 11:40:47 +0000 (14:40 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 23 May 2014 11:40:47 +0000 (14:40 +0300)
Remove some unused defines from the HDMI driver.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/omap2/dss/hdmi4_core.c
drivers/video/fbdev/omap2/dss/hdmi_phy.c
drivers/video/fbdev/omap2/dss/hdmi_pll.c
drivers/video/fbdev/omap2/dss/hdmi_wp.c

index f02e9541bd6b4f492526871bca4fa37e56c87105..2678d6f06216eafd873ef1181e2d54c8c0d00513 100644 (file)
@@ -998,9 +998,6 @@ int hdmi4_audio_get_dma_port(u32 *offset, u32 *size)
 
 #endif
 
-#define CORE_OFFSET            0x400
-#define CORE_SIZE              0xc00
-
 int hdmi4_core_init(struct platform_device *pdev, struct hdmi_core_data *core)
 {
        struct resource *res;
index 730641c076dee0c91335ad9ea62078cfc09c8d52..3970574c25a6c4b15eaaaba61ed34c712d600590 100644 (file)
@@ -182,9 +182,6 @@ int hdmi_phy_configure(struct hdmi_phy_data *phy, struct hdmi_config *cfg)
        return 0;
 }
 
-#define PHY_OFFSET     0x300
-#define PHY_SIZE       0x100
-
 static const struct hdmi_phy_features omap44xx_phy_feats = {
        .bist_ctrl      =       false,
        .calc_freqout   =       false,
index 668c095c55520b62a8da31d55999e4fa6657a13b..6b78d4fb6f59a3f352bfafbc72d453897f3a97cf 100644 (file)
@@ -210,9 +210,6 @@ void hdmi_pll_disable(struct hdmi_pll_data *pll, struct hdmi_wp_data *wp)
        hdmi_wp_set_pll_pwr(wp, HDMI_PLLPWRCMD_ALLOFF);
 }
 
-#define PLL_OFFSET     0x200
-#define PLL_SIZE       0x100
-
 static const struct hdmi_pll_features omap44xx_pll_feats = {
        .sys_reset              =       false,
        .bound_dcofreq          =       false,
index b4520972ef3e8c5290a2e9d4a1ec24fbe36c3d62..706ea90c376fe19320fb88f69d0b2ae8ed4ef535 100644 (file)
@@ -238,8 +238,6 @@ int hdmi_wp_audio_core_req_enable(struct hdmi_wp_data *wp, bool enable)
 }
 #endif
 
-#define WP_SIZE        0x200
-
 int hdmi_wp_init(struct platform_device *pdev, struct hdmi_wp_data *wp)
 {
        struct resource *res;
This page took 0.030178 seconds and 5 git commands to generate.