From patchwork Tue Dec 13 23:38:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 9473385 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D4DB760762 for ; Tue, 13 Dec 2016 23:38:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C6E802855A for ; Tue, 13 Dec 2016 23:38:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BBBA8286C3; Tue, 13 Dec 2016 23:38:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 777482855A for ; Tue, 13 Dec 2016 23:38:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752778AbcLMXiD (ORCPT ); Tue, 13 Dec 2016 18:38:03 -0500 Received: from galahad.ideasonboard.com ([185.26.127.97]:41953 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752746AbcLMXiD (ORCPT ); Tue, 13 Dec 2016 18:38:03 -0500 Received: from avalon.bb.dnainternet.fi (dfj612ybrt5fhg77mgycy-3.rev.dnainternet.fi [IPv6:2001:14ba:21f5:5b00:2e86:4862:ef6a:2804]) by galahad.ideasonboard.com (Postfix) with ESMTPSA id E545D2086B; Wed, 14 Dec 2016 00:37:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1481672265; bh=NJ8SSMvPk/YKyNqbR1+SuZb4fhnLPfFmtyFzapitf4g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pNNDDaS/A2/eMMaawK42hoBdeiQNdd8q1q+Kw6lLTGOlpqRaDY8bS+MznxMzmG6bE ZNO7U99ynsZraEVZ1MWlBJ1djxcUCnGxMGJKWMH3PzJhiZtt/mQYv1p5UjQccVCjJc 1imq7hiH68d8R52hubXRffJmWwhraiQ8lgnDMc3c= From: Laurent Pinchart To: dri-devel@lists.freedesktop.org Cc: linux-omap@vger.kernel.org, Tomi Valkeinen Subject: [PATCH/RFC 4/7] ARM: OMAP2+: Remove omapdrm platform data Date: Wed, 14 Dec 2016 01:38:23 +0200 Message-Id: <1481672306-22564-5-git-send-email-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1481672306-22564-1-git-send-email-laurent.pinchart@ideasonboard.com> References: <1481672306-22564-1-git-send-email-laurent.pinchart@ideasonboard.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The omapdrm platform data isn't used anymore, remove it. Signed-off-by: Laurent Pinchart --- 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 #include #include -#include #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; }