diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-09-20 07:49:50 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-02-23 02:39:19 -0500 |
commit | f060f95365ce71acbf29ef5dac580ab067600f4c (patch) | |
tree | 66b5d83ea6c878151af0294af1ea26827335920c | |
parent | 8f5e35a7942afe70eb0ba0d8193801b7989ae03a (diff) |
OMAPFB: remove omapfb_set_platform_data()
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>
-rw-r--r-- | arch/arm/plat-omap/fb.c | 15 | ||||
-rw-r--r-- | include/linux/omapfb.h | 3 |
2 files changed, 0 insertions, 18 deletions
diff --git a/arch/arm/plat-omap/fb.c b/arch/arm/plat-omap/fb.c index a742b60912cd..45f35c983f44 100644 --- a/arch/arm/plat-omap/fb.c +++ b/arch/arm/plat-omap/fb.c | |||
@@ -52,10 +52,6 @@ static struct platform_device omap_fb_device = { | |||
52 | .num_resources = 0, | 52 | .num_resources = 0, |
53 | }; | 53 | }; |
54 | 54 | ||
55 | void omapfb_set_platform_data(struct omapfb_platform_data *data) | ||
56 | { | ||
57 | } | ||
58 | |||
59 | static int __init omap_init_fb(void) | 55 | static int __init omap_init_fb(void) |
60 | { | 56 | { |
61 | const struct omap_lcd_config *conf; | 57 | const struct omap_lcd_config *conf; |
@@ -87,11 +83,6 @@ static struct platform_device omap_fb_device = { | |||
87 | .num_resources = 0, | 83 | .num_resources = 0, |
88 | }; | 84 | }; |
89 | 85 | ||
90 | void omapfb_set_platform_data(struct omapfb_platform_data *data) | ||
91 | { | ||
92 | omapfb_config = *data; | ||
93 | } | ||
94 | |||
95 | static int __init omap_init_fb(void) | 86 | static int __init omap_init_fb(void) |
96 | { | 87 | { |
97 | return platform_device_register(&omap_fb_device); | 88 | return platform_device_register(&omap_fb_device); |
@@ -99,10 +90,4 @@ static int __init omap_init_fb(void) | |||
99 | 90 | ||
100 | arch_initcall(omap_init_fb); | 91 | arch_initcall(omap_init_fb); |
101 | 92 | ||
102 | #else | ||
103 | |||
104 | void omapfb_set_platform_data(struct omapfb_platform_data *data) | ||
105 | { | ||
106 | } | ||
107 | |||
108 | #endif | 93 | #endif |
diff --git a/include/linux/omapfb.h b/include/linux/omapfb.h index 7a8e0ea345eb..a575706a83c3 100644 --- a/include/linux/omapfb.h +++ b/include/linux/omapfb.h | |||
@@ -226,9 +226,6 @@ struct omapfb_platform_data { | |||
226 | struct omap_lcd_config lcd; | 226 | struct omap_lcd_config lcd; |
227 | }; | 227 | }; |
228 | 228 | ||
229 | /* in arch/arm/plat-omap/fb.c */ | ||
230 | extern void omapfb_set_platform_data(struct omapfb_platform_data *data); | ||
231 | |||
232 | #endif | 229 | #endif |
233 | 230 | ||
234 | #endif /* __OMAPFB_H */ | 231 | #endif /* __OMAPFB_H */ |