]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
OMAP1: Remove unused LCD devices from board files
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 20 Sep 2011 12:35:37 +0000 (15:35 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 23 Feb 2012 07:39:31 +0000 (09:39 +0200)
Some OMAP1 board files define LCD platform_devices, but there are no
corresponding LCD drivers for those in the kernel. Thus remove these LCD
devices.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/board-fsample.c
arch/arm/mach-omap1/board-h2.c
arch/arm/mach-omap1/board-perseus2.c
arch/arm/mach-omap1/board-sx1.c

index b00844f7414d919bfddcb8f9c926b6e83d498751..7afaf3c5bdc6f8bb0b99afc8609b1892015e9620 100644 (file)
@@ -274,17 +274,11 @@ static struct platform_device kp_device = {
        .resource       = kp_resources,
 };
 
-static struct platform_device lcd_device = {
-       .name           = "lcd_p2",
-       .id             = -1,
-};
-
 static struct platform_device *devices[] __initdata = {
        &nor_device,
        &nand_device,
        &smc91x_device,
        &kp_device,
-       &lcd_device,
 };
 
 static struct omap_lcd_config fsample_lcd_config = {
index 471233fe147a45d34e28fc45814ca766d18e6a16..af2be8c12c072ab5fd69948183b4b88814f2c960 100644 (file)
@@ -326,18 +326,12 @@ static struct platform_device h2_irda_device = {
        .resource       = h2_irda_resources,
 };
 
-static struct platform_device h2_lcd_device = {
-       .name           = "lcd_h2",
-       .id             = -1,
-};
-
 static struct platform_device *h2_devices[] __initdata = {
        &h2_nor_device,
        &h2_nand_device,
        &h2_smc91x_device,
        &h2_irda_device,
        &h2_kp_device,
-       &h2_lcd_device,
 };
 
 static void __init h2_init_smc91x(void)
index 44df931726533bc227af1d062b38631e3a63cebd..8e0153447c6d3aabc3df97049e14405899023980 100644 (file)
@@ -233,17 +233,11 @@ static struct platform_device kp_device = {
        .resource       = kp_resources,
 };
 
-static struct platform_device lcd_device = {
-       .name           = "lcd_p2",
-       .id             = -1,
-};
-
 static struct platform_device *devices[] __initdata = {
        &nor_device,
        &nand_device,
        &smc91x_device,
        &kp_device,
-       &lcd_device,
 };
 
 static struct omap_lcd_config perseus2_lcd_config __initdata = {
index 0c880be112763406ab9fb13fc5192c1d0408ec70..0c76e12337d92a780bd6ee7d600f867c9bd2dbb1 100644 (file)
@@ -356,11 +356,6 @@ static struct omap_usb_config sx1_usb_config __initdata = {
 
 /*----------- LCD -------------------------*/
 
-static struct platform_device sx1_lcd_device = {
-       .name           = "lcd_sx1",
-       .id             = -1,
-};
-
 static struct omap_lcd_config sx1_lcd_config __initdata = {
        .ctrl_name      = "internal",
 };
@@ -369,7 +364,6 @@ static struct omap_lcd_config sx1_lcd_config __initdata = {
 static struct platform_device *sx1_devices[] __initdata = {
        &sx1_flash_device,
        &sx1_kp_device,
-       &sx1_lcd_device,
        &sx1_irda_device,
 };