From fe5c5fbad0790f14907679bae29889d47b75456e Mon Sep 17 00:00:00 2001 From: Archit Taneja Date: Fri, 7 Dec 2012 15:08:13 +0530 Subject: 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 Cc: Tony Lindgren Acked-by: Igor Grinberg --- arch/arm/mach-omap2/board-omap3evm.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'arch/arm/mach-omap2/board-omap3evm.c') diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index 80ed967cc056..5eecc178f8bf 100644 --- a/arch/arm/mach-omap2/board-omap3evm.c +++ b/arch/arm/mach-omap2/board-omap3evm.c @@ -202,22 +202,11 @@ static struct omap_dss_device omap3_evm_lcd_device = { .data = &omap3_evm_lcd_data, }; -static int omap3_evm_enable_tv(struct omap_dss_device *dssdev) -{ - return 0; -} - -static void omap3_evm_disable_tv(struct omap_dss_device *dssdev) -{ -} - static struct omap_dss_device omap3_evm_tv_device = { .name = "tv", .driver_name = "venc", .type = OMAP_DISPLAY_TYPE_VENC, .phy.venc.type = OMAP_DSS_VENC_TYPE_SVIDEO, - .platform_enable = omap3_evm_enable_tv, - .platform_disable = omap3_evm_disable_tv, }; static struct tfp410_platform_data dvi_panel = { -- cgit v1.2.3