diff options
author | Archit Taneja <archit@ti.com> | 2012-12-07 04:38:13 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-04-04 04:51:16 -0400 |
commit | fe5c5fbad0790f14907679bae29889d47b75456e (patch) | |
tree | 01c4e0444d7f20d2a82f15eb36e5aeaaaf894a49 /arch/arm/mach-omap2/board-am3517evm.c | |
parent | e5e533227ad8b6412cdec371a143ac2944272e2d (diff) |
arm: omap boards: Remove unnecessary platform_enable/disable callbacks for VENC devices
The omap_dss_device's platform_enable/disable callbacks don't do anything for
any of the boards. The platform calls from the VENC driver will also be removed
in the future. Remove these calls from the board which have a VENC device.
Signed-off-by: Archit Taneja <archit@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Diffstat (limited to 'arch/arm/mach-omap2/board-am3517evm.c')
-rw-r--r-- | arch/arm/mach-omap2/board-am3517evm.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/arm/mach-omap2/board-am3517evm.c b/arch/arm/mach-omap2/board-am3517evm.c index 4ba395f7e88e..2b9eb3de7aa6 100644 --- a/arch/arm/mach-omap2/board-am3517evm.c +++ b/arch/arm/mach-omap2/board-am3517evm.c | |||
@@ -138,22 +138,11 @@ static struct omap_dss_device am3517_evm_lcd_device = { | |||
138 | .phy.dpi.data_lines = 16, | 138 | .phy.dpi.data_lines = 16, |
139 | }; | 139 | }; |
140 | 140 | ||
141 | static int am3517_evm_panel_enable_tv(struct omap_dss_device *dssdev) | ||
142 | { | ||
143 | return 0; | ||
144 | } | ||
145 | |||
146 | static void am3517_evm_panel_disable_tv(struct omap_dss_device *dssdev) | ||
147 | { | ||
148 | } | ||
149 | |||
150 | static struct omap_dss_device am3517_evm_tv_device = { | 141 | static struct omap_dss_device am3517_evm_tv_device = { |
151 | .type = OMAP_DISPLAY_TYPE_VENC, | 142 | .type = OMAP_DISPLAY_TYPE_VENC, |
152 | .name = "tv", | 143 | .name = "tv", |
153 | .driver_name = "venc", | 144 | .driver_name = "venc", |
154 | .phy.venc.type = OMAP_DSS_VENC_TYPE_SVIDEO, | 145 | .phy.venc.type = OMAP_DSS_VENC_TYPE_SVIDEO, |
155 | .platform_enable = am3517_evm_panel_enable_tv, | ||
156 | .platform_disable = am3517_evm_panel_disable_tv, | ||
157 | }; | 146 | }; |
158 | 147 | ||
159 | static struct tfp410_platform_data dvi_panel = { | 148 | static struct tfp410_platform_data dvi_panel = { |