diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-09-20 02:11:00 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-09-30 09:17:33 -0400 |
commit | 4010c07c2307a8238ef4a742d4080de4a577575b (patch) | |
tree | b9ed677e4b5a994a9f29475266cc6d7e28fa8330 /arch/arm/mach-omap2/board-4430sdp.c | |
parent | 212b0d50e2eb7fc60f7bea1e90e5867b5fc0647d (diff) |
OMAP: 4430SDP: Remove unneeded lcd config
4430SDP board file contains some unused old LCD configurations. They are
not used and can be removed.
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-4430sdp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-4430sdp.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index 79c28273cf0..62ec9f5d181 100644 --- a/arch/arm/mach-omap2/board-4430sdp.c +++ b/arch/arm/mach-omap2/board-4430sdp.c | |||
@@ -340,11 +340,6 @@ static int __init omap_ethernet_init(void) | |||
340 | return status; | 340 | return status; |
341 | } | 341 | } |
342 | 342 | ||
343 | static struct platform_device sdp4430_lcd_device = { | ||
344 | .name = "sdp4430_lcd", | ||
345 | .id = -1, | ||
346 | }; | ||
347 | |||
348 | static struct regulator_consumer_supply sdp4430_vbat_supply[] = { | 343 | static struct regulator_consumer_supply sdp4430_vbat_supply[] = { |
349 | REGULATOR_SUPPLY("vddvibl", "twl6040-vibra"), | 344 | REGULATOR_SUPPLY("vddvibl", "twl6040-vibra"), |
350 | REGULATOR_SUPPLY("vddvibr", "twl6040-vibra"), | 345 | REGULATOR_SUPPLY("vddvibr", "twl6040-vibra"), |
@@ -374,21 +369,12 @@ static struct platform_device sdp4430_vbat = { | |||
374 | }; | 369 | }; |
375 | 370 | ||
376 | static struct platform_device *sdp4430_devices[] __initdata = { | 371 | static struct platform_device *sdp4430_devices[] __initdata = { |
377 | &sdp4430_lcd_device, | ||
378 | &sdp4430_gpio_keys_device, | 372 | &sdp4430_gpio_keys_device, |
379 | &sdp4430_leds_gpio, | 373 | &sdp4430_leds_gpio, |
380 | &sdp4430_leds_pwm, | 374 | &sdp4430_leds_pwm, |
381 | &sdp4430_vbat, | 375 | &sdp4430_vbat, |
382 | }; | 376 | }; |
383 | 377 | ||
384 | static struct omap_lcd_config sdp4430_lcd_config __initdata = { | ||
385 | .ctrl_name = "internal", | ||
386 | }; | ||
387 | |||
388 | static struct omap_board_config_kernel sdp4430_config[] __initdata = { | ||
389 | { OMAP_TAG_LCD, &sdp4430_lcd_config }, | ||
390 | }; | ||
391 | |||
392 | static void __init omap_4430sdp_init_early(void) | 378 | static void __init omap_4430sdp_init_early(void) |
393 | { | 379 | { |
394 | omap2_init_common_infrastructure(); | 380 | omap2_init_common_infrastructure(); |
@@ -793,9 +779,6 @@ static void __init omap_4430sdp_init(void) | |||
793 | package = OMAP_PACKAGE_CBL; | 779 | package = OMAP_PACKAGE_CBL; |
794 | omap4_mux_init(board_mux, NULL, package); | 780 | omap4_mux_init(board_mux, NULL, package); |
795 | 781 | ||
796 | omap_board_config = sdp4430_config; | ||
797 | omap_board_config_size = ARRAY_SIZE(sdp4430_config); | ||
798 | |||
799 | omap4_i2c_init(); | 782 | omap4_i2c_init(); |
800 | omap_sfh7741prox_init(); | 783 | omap_sfh7741prox_init(); |
801 | platform_add_devices(sdp4430_devices, ARRAY_SIZE(sdp4430_devices)); | 784 | platform_add_devices(sdp4430_devices, ARRAY_SIZE(sdp4430_devices)); |