diff mbox

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

Message ID 1481672306-22564-5-git-send-email-laurent.pinchart@ideasonboard.com (mailing list archive)
State New, archived
Headers show

Commit Message

Laurent Pinchart Dec. 13, 2016, 11:38 p.m. UTC
The omapdrm platform data isn't used anymore, remove it.

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

Patch

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