OSDN Git Service

OAMPFB: remove unused omapfb_set_ctrl_platform_data()
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 20 Sep 2011 09:23:58 +0000 (12:23 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 23 Feb 2012 07:39:10 +0000 (09:39 +0200)
omapfb_set_ctrl_platform_data() is no longer used, so it can be removed.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/fb.c
include/linux/omapfb.h

index 15d4d16..a05ab56 100644 (file)
@@ -175,11 +175,6 @@ void __init omapfb_reserve_sdram_memblock(void)
                         reserved);
 }
 
-void omapfb_set_ctrl_platform_data(void *data)
-{
-       omapfb_config.ctrl_platform_data = data;
-}
-
 static int __init omap_init_fb(void)
 {
        const struct omap_lcd_config *conf;
index c0b0187..85cad31 100644 (file)
@@ -250,12 +250,10 @@ struct omapfb_mem_desc {
 struct omapfb_platform_data {
        struct omap_lcd_config          lcd;
        struct omapfb_mem_desc          mem_desc;
-       void                            *ctrl_platform_data;
 };
 
 /* in arch/arm/plat-omap/fb.c */
 extern void omapfb_set_platform_data(struct omapfb_platform_data *data);
-extern void omapfb_set_ctrl_platform_data(void *pdata);
 extern void omapfb_reserve_sdram_memblock(void);
 
 #endif