Title: [7497] trunk/arch/blackfin: drop simple-gpio resources as the simple-gpio driver is gone

Diff

Modified: trunk/arch/blackfin/mach-bf518/boards/ezbrd.c (7496 => 7497)


--- trunk/arch/blackfin/mach-bf518/boards/ezbrd.c	2009-09-28 18:52:22 UTC (rev 7496)
+++ trunk/arch/blackfin/mach-bf518/boards/ezbrd.c	2009-09-28 19:14:39 UTC (rev 7497)
@@ -743,19 +743,6 @@
 };
 #endif
 
-static struct resource bfin_gpios_resources = {
-	.start = 0,
-	.end   = MAX_BLACKFIN_GPIOS - 1,
-	.flags = IORESOURCE_IRQ,
-};
-
-static struct platform_device bfin_gpios_device = {
-	.name = "simple-gpio",
-	.id = -1,
-	.num_resources = 1,
-	.resource = &bfin_gpios_resources,
-};
-
 static const unsigned int cclk_vlev_datasheet[] =
 {
 	VRPAIR(VLEV_100, 400000000),
@@ -841,8 +828,6 @@
 #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE)
 	&ezbrd_flash_device,
 #endif
-
-	&bfin_gpios_device,
 };
 
 static int __init ezbrd_init(void)

Modified: trunk/arch/blackfin/mach-bf527/boards/cm_bf527.c (7496 => 7497)


--- trunk/arch/blackfin/mach-bf527/boards/cm_bf527.c	2009-09-28 18:52:22 UTC (rev 7496)
+++ trunk/arch/blackfin/mach-bf527/boards/cm_bf527.c	2009-09-28 19:14:39 UTC (rev 7497)
@@ -953,19 +953,6 @@
 };
 #endif
 
-static struct resource bfin_gpios_resources = {
-	.start = 0,
-	.end   = MAX_BLACKFIN_GPIOS - 1,
-	.flags = IORESOURCE_IRQ,
-};
-
-static struct platform_device bfin_gpios_device = {
-	.name = "simple-gpio",
-	.id = -1,
-	.num_resources = 1,
-	.resource = &bfin_gpios_resources,
-};
-
 static const unsigned int cclk_vlev_datasheet[] =
 {
 	VRPAIR(VLEV_100, 400000000),
@@ -1075,8 +1062,6 @@
 #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE)
 	&cm_flash_device,
 #endif
-
-	&bfin_gpios_device,
 };
 
 static int __init cm_init(void)

Modified: trunk/arch/blackfin/mach-bf527/boards/ezbrd.c (7496 => 7497)


--- trunk/arch/blackfin/mach-bf527/boards/ezbrd.c	2009-09-28 18:52:22 UTC (rev 7496)
+++ trunk/arch/blackfin/mach-bf527/boards/ezbrd.c	2009-09-28 19:14:39 UTC (rev 7497)
@@ -785,19 +785,6 @@
 };
 #endif
 
-static struct resource bfin_gpios_resources = {
-	.start = 0,
-	.end   = MAX_BLACKFIN_GPIOS - 1,
-	.flags = IORESOURCE_IRQ,
-};
-
-static struct platform_device bfin_gpios_device = {
-	.name = "simple-gpio",
-	.id = -1,
-	.num_resources = 1,
-	.resource = &bfin_gpios_resources,
-};
-
 static const unsigned int cclk_vlev_datasheet[] =
 {
 	VRPAIR(VLEV_100, 400000000),
@@ -915,8 +902,6 @@
 #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE)
 	&ezbrd_flash_device,
 #endif
-
-	&bfin_gpios_device,
 };
 
 static int __init ezbrd_init(void)

Modified: trunk/arch/blackfin/mach-bf527/boards/ezkit.c (7496 => 7497)


--- trunk/arch/blackfin/mach-bf527/boards/ezkit.c	2009-09-28 18:52:22 UTC (rev 7496)
+++ trunk/arch/blackfin/mach-bf527/boards/ezkit.c	2009-09-28 19:14:39 UTC (rev 7497)
@@ -1030,19 +1030,6 @@
 };
 #endif
 
-static struct resource bfin_gpios_resources = {
-	.start = 0,
-	.end   = MAX_BLACKFIN_GPIOS - 1,
-	.flags = IORESOURCE_IRQ,
-};
-
-static struct platform_device bfin_gpios_device = {
-	.name = "simple-gpio",
-	.id = -1,
-	.num_resources = 1,
-	.resource = &bfin_gpios_resources,
-};
-
 static const unsigned int cclk_vlev_datasheet[] =
 {
 	VRPAIR(VLEV_100, 400000000),
@@ -1160,8 +1147,6 @@
 #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE)
 	&ezkit_flash_device,
 #endif
-
-	&bfin_gpios_device,
 };
 
 static int __init ezkit_init(void)

Modified: trunk/arch/blackfin/mach-bf533/boards/blackstamp.c (7496 => 7497)


--- trunk/arch/blackfin/mach-bf533/boards/blackstamp.c	2009-09-28 18:52:22 UTC (rev 7496)
+++ trunk/arch/blackfin/mach-bf533/boards/blackstamp.c	2009-09-28 19:14:39 UTC (rev 7497)
@@ -417,19 +417,6 @@
 };
 #endif
 
-static struct resource bfin_gpios_resources = {
-	.start = 0,
-	.end   = MAX_BLACKFIN_GPIOS - 1,
-	.flags = IORESOURCE_IRQ,
-};
-
-static struct platform_device bfin_gpios_device = {
-	.name = "simple-gpio",
-	.id = -1,
-	.num_resources = 1,
-	.resource = &bfin_gpios_resources,
-};
-
 #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE)
 #include <linux/i2c-gpio.h>
 
@@ -526,8 +513,6 @@
 #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE)
 	&i2c_gpio_device,
 #endif
-
-	&bfin_gpios_device,
 };
 
 static int __init blackstamp_init(void)

Modified: trunk/arch/blackfin/mach-bf533/boards/cm_bf533.c (7496 => 7497)


--- trunk/arch/blackfin/mach-bf533/boards/cm_bf533.c	2009-09-28 18:52:22 UTC (rev 7496)
+++ trunk/arch/blackfin/mach-bf533/boards/cm_bf533.c	2009-09-28 19:14:39 UTC (rev 7497)
@@ -241,19 +241,6 @@
 };
 #endif
 
-static struct resource bfin_gpios_resources = {
-	.start = 0,
-	.end   = MAX_BLACKFIN_GPIOS - 1,
-	.flags = IORESOURCE_IRQ,
-};
-
-static struct platform_device bfin_gpios_device = {
-	.name = "simple-gpio",
-	.id = -1,
-	.num_resources = 1,
-	.resource = &bfin_gpios_resources,
-};
-
 #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE)
 #ifdef CONFIG_SERIAL_BFIN_UART0
 static struct resource bfin_uart0_resources[] = {
@@ -634,8 +621,6 @@
 #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE)
 	&para_flash_device,
 #endif
-
-	&bfin_gpios_device,
 };
 
 static int __init cm_bf533_init(void)

Modified: trunk/arch/blackfin/mach-bf533/boards/ezkit.c (7496 => 7497)


--- trunk/arch/blackfin/mach-bf533/boards/ezkit.c	2009-09-28 18:52:22 UTC (rev 7496)
+++ trunk/arch/blackfin/mach-bf533/boards/ezkit.c	2009-09-28 19:14:39 UTC (rev 7497)
@@ -436,19 +436,6 @@
 };
 #endif
 
-static struct resource bfin_gpios_resources = {
-	.start = 0,
-	.end   = MAX_BLACKFIN_GPIOS - 1,
-	.flags = IORESOURCE_IRQ,
-};
-
-static struct platform_device bfin_gpios_device = {
-	.name = "simple-gpio",
-	.id = -1,
-	.num_resources = 1,
-	.resource = &bfin_gpios_resources,
-};
-
 #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE)
 #include <linux/i2c-gpio.h>
 
@@ -549,8 +536,6 @@
 #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE)
 	&i2c_gpio_device,
 #endif
-
-	&bfin_gpios_device,
 };
 
 static int __init ezkit_init(void)

Modified: trunk/arch/blackfin/mach-bf533/boards/stamp.c (7496 => 7497)


--- trunk/arch/blackfin/mach-bf533/boards/stamp.c	2009-09-28 18:52:22 UTC (rev 7496)
+++ trunk/arch/blackfin/mach-bf533/boards/stamp.c	2009-09-28 19:14:39 UTC (rev 7497)
@@ -544,19 +544,6 @@
 };
 #endif
 
-static struct resource bfin_gpios_resources = {
-	.start = 0,
-	.end   = MAX_BLACKFIN_GPIOS - 1,
-	.flags = IORESOURCE_IRQ,
-};
-
-static struct platform_device bfin_gpios_device = {
-	.name = "simple-gpio",
-	.id = -1,
-	.num_resources = 1,
-	.resource = &bfin_gpios_resources,
-};
-
 #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE)
 #include <linux/i2c-gpio.h>
 
@@ -678,8 +665,6 @@
 	&i2c_gpio_device,
 #endif
 
-	&bfin_gpios_device,
-
 #if defined(CONFIG_MTD_BFIN_ASYNC) || defined(CONFIG_MTD_BFIN_ASYNC_MODULE)
 	&stamp_flash_device,
 #endif

Modified: trunk/arch/blackfin/mach-bf537/boards/cm_bf537e.c (7496 => 7497)


--- trunk/arch/blackfin/mach-bf537/boards/cm_bf537e.c	2009-09-28 18:52:22 UTC (rev 7496)
+++ trunk/arch/blackfin/mach-bf537/boards/cm_bf537e.c	2009-09-28 19:14:39 UTC (rev 7497)
@@ -276,19 +276,6 @@
 };
 #endif
 
-static struct resource bfin_gpios_resources = {
-	.start = 0,
-	.end   = MAX_BLACKFIN_GPIOS - 1,
-	.flags = IORESOURCE_IRQ,
-};
-
-static struct platform_device bfin_gpios_device = {
-	.name = "simple-gpio",
-	.id = -1,
-	.num_resources = 1,
-	.resource = &bfin_gpios_resources,
-};
-
 #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE)
 static struct mtd_partition cm_partitions[] = {
 	{
@@ -791,8 +778,6 @@
 #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE)
 	&cm_flash_device,
 #endif
-
-	&bfin_gpios_device,
 };
 
 static int __init cm_bf537e_init(void)

Modified: trunk/arch/blackfin/mach-bf537/boards/cm_bf537u.c (7496 => 7497)


--- trunk/arch/blackfin/mach-bf537/boards/cm_bf537u.c	2009-09-28 18:52:22 UTC (rev 7496)
+++ trunk/arch/blackfin/mach-bf537/boards/cm_bf537u.c	2009-09-28 19:14:39 UTC (rev 7497)
@@ -277,19 +277,6 @@
 };
 #endif
 
-static struct resource bfin_gpios_resources = {
-	.start = 0,
-	.end   = MAX_BLACKFIN_GPIOS - 1,
-	.flags = IORESOURCE_IRQ,
-};
-
-static struct platform_device bfin_gpios_device = {
-	.name = "simple-gpio",
-	.id = -1,
-	.num_resources = 1,
-	.resource = &bfin_gpios_resources,
-};
-
 #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE)
 static struct mtd_partition cm_partitions[] = {
 	{
@@ -792,8 +779,6 @@
 #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE)
 	&cm_flash_device,
 #endif
-
-	&bfin_gpios_device,
 };
 
 static int __init cm_bf537u_init(void)

Modified: trunk/arch/blackfin/mach-bf537/boards/stamp.c (7496 => 7497)


--- trunk/arch/blackfin/mach-bf537/boards/stamp.c	2009-09-28 18:52:22 UTC (rev 7496)
+++ trunk/arch/blackfin/mach-bf537/boards/stamp.c	2009-09-28 19:14:39 UTC (rev 7497)
@@ -99,19 +99,6 @@
 };
 #endif
 
-static struct resource bfin_gpios_resources = {
-	.start = 0,
-	.end   = MAX_BLACKFIN_GPIOS - 1,
-	.flags = IORESOURCE_IRQ,
-};
-
-static struct platform_device bfin_gpios_device = {
-	.name = "simple-gpio",
-	.id = -1,
-	.num_resources = 1,
-	.resource = &bfin_gpios_resources,
-};
-
 #if defined(CONFIG_BFIN_CFPCMCIA) || defined(CONFIG_BFIN_CFPCMCIA_MODULE)
 static struct resource bfin_pcmcia_cf_resources[] = {
 	{
@@ -1884,8 +1871,6 @@
 	&bfin_device_gpiokeys,
 #endif
 
-	&bfin_gpios_device,
-
 #if defined(CONFIG_MTD_NAND_PLATFORM) || defined(CONFIG_MTD_NAND_PLATFORM_MODULE)
 	&bfin_async_nand_device,
 #endif

Modified: trunk/arch/blackfin/mach-bf537/boards/tcm_bf537.c (7496 => 7497)


--- trunk/arch/blackfin/mach-bf537/boards/tcm_bf537.c	2009-09-28 18:52:22 UTC (rev 7496)
+++ trunk/arch/blackfin/mach-bf537/boards/tcm_bf537.c	2009-09-28 19:14:39 UTC (rev 7497)
@@ -277,19 +277,6 @@
 };
 #endif
 
-static struct resource bfin_gpios_resources = {
-	.start = 0,
-	.end   = MAX_BLACKFIN_GPIOS - 1,
-	.flags = IORESOURCE_IRQ,
-};
-
-static struct platform_device bfin_gpios_device = {
-	.name = "simple-gpio",
-	.id = -1,
-	.num_resources = 1,
-	.resource = &bfin_gpios_resources,
-};
-
 #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE)
 static struct mtd_partition cm_partitions[] = {
 	{
@@ -794,8 +781,6 @@
 #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE)
 	&cm_flash_device,
 #endif
-
-	&bfin_gpios_device,
 };
 
 static int __init tcm_bf537_init(void)

Modified: trunk/arch/blackfin/mach-bf538/boards/ezkit.c (7496 => 7497)


--- trunk/arch/blackfin/mach-bf538/boards/ezkit.c	2009-09-28 18:52:22 UTC (rev 7496)
+++ trunk/arch/blackfin/mach-bf538/boards/ezkit.c	2009-09-28 19:14:39 UTC (rev 7497)
@@ -849,19 +849,6 @@
 #endif
 #endif
 
-static struct resource bfin_gpios_resources = {
-	.start = 0,
-	.end   = MAX_BLACKFIN_GPIOS - 1,
-	.flags = IORESOURCE_IRQ,
-};
-
-static struct platform_device bfin_gpios_device = {
-	.name = "simple-gpio",
-	.id = -1,
-	.num_resources = 1,
-	.resource = &bfin_gpios_resources,
-};
-
 #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE)
 #include <linux/gpio_keys.h>
 
@@ -1024,8 +1011,6 @@
 	&bfin_device_gpiokeys,
 #endif
 
-	&bfin_gpios_device,
-
 #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE)
 	&ezkit_flash_device,
 #endif

Modified: trunk/arch/blackfin/mach-bf548/boards/cm_bf548.c (7496 => 7497)


--- trunk/arch/blackfin/mach-bf548/boards/cm_bf548.c	2009-09-28 18:52:22 UTC (rev 7496)
+++ trunk/arch/blackfin/mach-bf548/boards/cm_bf548.c	2009-09-28 19:14:39 UTC (rev 7497)
@@ -574,19 +574,6 @@
 };
 #endif
 
-static struct resource bfin_gpios_resources = {
-	.start = 0,
-	.end   = MAX_BLACKFIN_GPIOS - 1,
-	.flags = IORESOURCE_IRQ,
-};
-
-static struct platform_device bfin_gpios_device = {
-	.name = "simple-gpio",
-	.id = -1,
-	.num_resources = 1,
-	.resource = &bfin_gpios_resources,
-};
-
 #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE)
 #ifdef CONFIG_SERIAL_BFIN_SPORT0_UART
 static struct resource bfin_sport0_uart_resources[] = {
@@ -1282,8 +1269,6 @@
 #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE)
 	&para_flash_device,
 #endif
-
-	&bfin_gpios_device,
 };
 
 static int __init cm_bf548_init(void)

Modified: trunk/arch/blackfin/mach-bf548/boards/ezkit.c (7496 => 7497)


--- trunk/arch/blackfin/mach-bf548/boards/ezkit.c	2009-09-28 18:52:22 UTC (rev 7496)
+++ trunk/arch/blackfin/mach-bf548/boards/ezkit.c	2009-09-28 19:14:39 UTC (rev 7497)
@@ -1237,19 +1237,6 @@
 };
 #endif
 
-static struct resource bfin_gpios_resources = {
-	.start = 0,
-	.end   = MAX_BLACKFIN_GPIOS - 1,
-	.flags = IORESOURCE_IRQ,
-};
-
-static struct platform_device bfin_gpios_device = {
-	.name = "simple-gpio",
-	.id = -1,
-	.num_resources = 1,
-	.resource = &bfin_gpios_resources,
-};
-
 static const unsigned int cclk_vlev_datasheet[] =
 {
 /*
@@ -1383,8 +1370,6 @@
 	&bfin_device_gpiokeys,
 #endif
 
-	&bfin_gpios_device,
-
 #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE)
 	&ezkit_flash_device,
 #endif

Modified: trunk/arch/blackfin/mach-bf561/boards/cm_bf561.c (7496 => 7497)


--- trunk/arch/blackfin/mach-bf561/boards/cm_bf561.c	2009-09-28 18:52:22 UTC (rev 7496)
+++ trunk/arch/blackfin/mach-bf561/boards/cm_bf561.c	2009-09-28 19:14:39 UTC (rev 7497)
@@ -265,19 +265,6 @@
 };
 #endif
 
-static struct resource bfin_gpios_resources = {
-	.start = 0,
-	.end   = MAX_BLACKFIN_GPIOS - 1,
-	.flags = IORESOURCE_IRQ,
-};
-
-static struct platform_device bfin_gpios_device = {
-	.name = "simple-gpio",
-	.id = -1,
-	.num_resources = 1,
-	.resource = &bfin_gpios_resources,
-};
-
 #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE)
 static struct resource isp1362_hcd_resources[] = {
 	{
@@ -561,8 +548,6 @@
 #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE)
 	&para_flash_device,
 #endif
-
-	&bfin_gpios_device,
 };
 
 static int __init cm_bf561_init(void)

Modified: trunk/arch/blackfin/mach-bf561/boards/ezkit.c (7496 => 7497)


--- trunk/arch/blackfin/mach-bf561/boards/ezkit.c	2009-09-28 18:52:22 UTC (rev 7496)
+++ trunk/arch/blackfin/mach-bf561/boards/ezkit.c	2009-09-28 19:14:39 UTC (rev 7497)
@@ -406,19 +406,6 @@
 };
 #endif
 
-static struct resource bfin_gpios_resources = {
-	.start = 0,
-	.end   = MAX_BLACKFIN_GPIOS - 1,
-	.flags = IORESOURCE_IRQ,
-};
-
-static struct platform_device bfin_gpios_device = {
-	.name = "simple-gpio",
-	.id = -1,
-	.num_resources = 1,
-	.resource = &bfin_gpios_resources,
-};
-
 #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE)
 #include <linux/i2c-gpio.h>
 
@@ -514,8 +501,6 @@
 	&isp1362_hcd_device,
 #endif
 
-	&bfin_gpios_device,
-
 #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE)
 	&ezkit_flash_device,
 #endif
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to