[PATCH 4/4] cbus: retu: drop useless platform_data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



there's no need for that at all.

Signed-off-by: Felipe Balbi <balbi@xxxxxx>
---
 arch/arm/mach-omap1/board-nokia770.c |    5 -----
 arch/arm/mach-omap2/board-n8x0.c     |    5 -----
 include/linux/platform_data/cbus.h   |    4 ----
 3 files changed, 0 insertions(+), 14 deletions(-)

diff --git a/arch/arm/mach-omap1/board-nokia770.c b/arch/arm/mach-omap1/board-nokia770.c
index 3a72a44..62533cd 100644
--- a/arch/arm/mach-omap1/board-nokia770.c
+++ b/arch/arm/mach-omap1/board-nokia770.c
@@ -123,17 +123,12 @@ static struct resource retu_resource[] = {
 	},
 };
 
-static struct cbus_retu_platform_data nokia770_retu_data = {
-	.devid		= CBUS_RETU_DEVICE_ID,
-};
-
 static struct platform_device retu_device = {
 	.name		= "retu",
 	.id		= -1,
 	.resource	= retu_resource,
 	.num_resources	= ARRAY_SIZE(retu_resource),
 	.dev		= {
-		.platform_data = &nokia770_retu_data,
 		.parent	= &nokia770_cbus_device.dev,
 	},
 };
diff --git a/arch/arm/mach-omap2/board-n8x0.c b/arch/arm/mach-omap2/board-n8x0.c
index bf2e51f..1cbacde 100644
--- a/arch/arm/mach-omap2/board-n8x0.c
+++ b/arch/arm/mach-omap2/board-n8x0.c
@@ -219,17 +219,12 @@ static struct resource retu_resource[] = {
 	},
 };
 
-static struct cbus_retu_platform_data n8x0_retu_data = {
-	.devid		= CBUS_RETU_DEVICE_ID,
-};
-
 static struct platform_device retu_device = {
 	.name		= "retu",
 	.id		= -1,
 	.resource	= retu_resource,
 	.num_resources	= ARRAY_SIZE(retu_resource),
 	.dev		= {
-		.platform_data = &n8x0_retu_data,
 		.parent	= &n8x0_cbus_device.dev,
 	},
 };
diff --git a/include/linux/platform_data/cbus.h b/include/linux/platform_data/cbus.h
index 5bd9211..7a977e1 100644
--- a/include/linux/platform_data/cbus.h
+++ b/include/linux/platform_data/cbus.h
@@ -28,8 +28,4 @@ struct cbus_host_platform_data {
 	int	sel_gpio;
 };
 
-struct cbus_retu_platform_data {
-	int	devid;
-};
-
 #endif /* __INCLUDE_LINUX_CBUS_H */
-- 
1.7.7

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux