[PATCH/RFC 4/7] ARM: OMAP2+: Remove omapdrm platform data

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

 



The omapdrm platform data isn't used anymore, remove it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>
---
 arch/arm/mach-omap2/drm.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/arch/arm/mach-omap2/drm.c b/arch/arm/mach-omap2/drm.c
index 44fef961bb70..06fd40c92b96 100644
--- a/arch/arm/mach-omap2/drm.c
+++ b/arch/arm/mach-omap2/drm.c
@@ -23,19 +23,15 @@
 #include <linux/init.h>
 #include <linux/platform_device.h>
 #include <linux/dma-mapping.h>
-#include <linux/platform_data/omap_drm.h>
 
 #include "soc.h"
 #include "display.h"
 
 #if IS_ENABLED(CONFIG_DRM_OMAP)
 
-static struct omap_drm_platform_data platform_data;
-
 static struct platform_device omap_drm_device = {
 	.dev = {
 		.coherent_dma_mask = DMA_BIT_MASK(32),
-		.platform_data = &platform_data,
 	},
 	.name = "omapdrm",
 	.id = 0,
@@ -43,10 +39,7 @@ static struct platform_device omap_drm_device = {
 
 int __init omap_init_drm(void)
 {
-	platform_data.omaprev = GET_OMAP_TYPE;
-
 	return platform_device_register(&omap_drm_device);
-
 }
 #else
 int __init omap_init_drm(void) { return 0; }
-- 
Regards,

Laurent Pinchart

--
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