]> Pileus Git - ~andy/linux/commitdiff
OMAPFB: remove omapfb_set_platform_data()
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 20 Sep 2011 11:49:50 +0000 (14:49 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 23 Feb 2012 07:39:19 +0000 (09:39 +0200)
omapfb_set_platform_data() is no longer used, so remove it.

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 a742b60912cd75f7783b1795752508cf104465fb..45f35c983f44a54b6f9f440eac51364703af2e3b 100644 (file)
@@ -52,10 +52,6 @@ static struct platform_device omap_fb_device = {
        .num_resources = 0,
 };
 
-void omapfb_set_platform_data(struct omapfb_platform_data *data)
-{
-}
-
 static int __init omap_init_fb(void)
 {
        const struct omap_lcd_config *conf;
@@ -87,11 +83,6 @@ static struct platform_device omap_fb_device = {
        .num_resources = 0,
 };
 
-void omapfb_set_platform_data(struct omapfb_platform_data *data)
-{
-       omapfb_config = *data;
-}
-
 static int __init omap_init_fb(void)
 {
        return platform_device_register(&omap_fb_device);
@@ -99,10 +90,4 @@ static int __init omap_init_fb(void)
 
 arch_initcall(omap_init_fb);
 
-#else
-
-void omapfb_set_platform_data(struct omapfb_platform_data *data)
-{
-}
-
 #endif
index 7a8e0ea345ebc8bea4aa0fbd016ac8086f151e8d..a575706a83c36dde919ad0fea67d96739283088c 100644 (file)
@@ -226,9 +226,6 @@ struct omapfb_platform_data {
        struct omap_lcd_config          lcd;
 };
 
-/* in arch/arm/plat-omap/fb.c */
-extern void omapfb_set_platform_data(struct omapfb_platform_data *data);
-
 #endif
 
 #endif /* __OMAPFB_H */