From patchwork Wed Oct 19 23:35:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 9385607 X-Patchwork-Delegate: geert@linux-m68k.org 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 CA02F60487 for ; Wed, 19 Oct 2016 23:45:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A331828B5D for ; Wed, 19 Oct 2016 23:45:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 981AF29107; Wed, 19 Oct 2016 23:45:34 +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_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable 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 2C07728B5D for ; Wed, 19 Oct 2016 23:45:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932510AbcJSXnx (ORCPT ); Wed, 19 Oct 2016 19:43:53 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:33858 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753079AbcJSXni (ORCPT ); Wed, 19 Oct 2016 19:43:38 -0400 Received: by mail-pf0-f193.google.com with SMTP id 128so3692740pfz.1; Wed, 19 Oct 2016 16:43:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=WPxx7a2bfzjV91+NkuWklybPyrX/xOkatkn15bT8Zrw=; b=v5IgvcQOjHnWgO76gjL6UuilChjNoc+G/N/bkFu213LX1XU1E/vBPvdyFS8IGytgRr onYZErV9L5J0JDc/+mm87KobPh0VHpD4uvENMa/7jIJAJ4nnEHD/8b+MZf6b28SYWL2I ATJ3saNszFrIGw977TlEwOir9vSobeYwjZktLSyptx0uCLtzX/qGYNtNewwb9xi+PNnr MVmZw7cRcsxd2H2Pkr5amMIgVOeAChG6AlueFWb+D/aNsN8HAbYasfKvRktacKD5rxoG 0iZ4bjyAonNrLWzbbC4g3rdn/9z9N/U49f5d5uQGZRE8yggo9B+JreZXy4cFKLCCUHn5 ewKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:date:message-id:in-reply-to :references:subject; bh=WPxx7a2bfzjV91+NkuWklybPyrX/xOkatkn15bT8Zrw=; b=fzj0HM3w9YzNx/J6F8GybLLVyfjHGJ8Jlg3I63+q5jNsaS54fRpT5QJzIr7ZdjiSad ChXSqBRxPD3vlzXxrABkeGNqLjB/DBEoZ/m2mNb7/du5z9aQbc7xzlbCHyjMx7RYuEvG SnLhqtljyH/LkXc4prSyyCd420v4eGD6sGMRR4BZvA0ZEjwCPzGIUk0prD5dxz29oZqz ofMBiQ9FlYEJjYSJ46ZCrZAREz0O9VRb+kpcTME3RBiz/OOHarVMNPM0HbXg1l9J/Qsd XeN1nMf7w1M5Nifaccc/HPrEcEuMDSh5v1i6BJRrjjZQCtoJ01UANP8wsk6eMosRkJwl L1Dg== X-Gm-Message-State: AA6/9RnKjA71GNWzMRvGR5BCyKA++A/qOu3HRYdKIvWF7rvue45l+2APjeNffquc7MEAPw== X-Received: by 10.99.216.21 with SMTP id b21mr13005383pgh.110.1476920617047; Wed, 19 Oct 2016 16:43:37 -0700 (PDT) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id 128sm66369268pfy.4.2016.10.19.16.43.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Oct 2016 16:43:35 -0700 (PDT) From: Magnus Damm To: iommu@lists.linux-foundation.org Cc: laurent.pinchart+renesas@ideasonboard.com, geert+renesas@glider.be, joro@8bytes.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, horms+renesas@verge.net.au, Magnus Damm , robin.murphy@arm.com, m.szyprowski@samsung.com Date: Thu, 20 Oct 2016 08:35:43 +0900 Message-Id: <20161019233543.10506.52916.sendpatchset@little-apple> In-Reply-To: <20161019233533.10506.16810.sendpatchset@little-apple> References: <20161019233533.10506.16810.sendpatchset@little-apple> Subject: [PATCH v6 01/07] iommu/ipmmu-vmsa: Remove platform data handling Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm The IPMMU driver is using DT these days, and platform data is no longer used by the driver. Remove unused code. Signed-off-by: Magnus Damm Reviewed-by: Laurent Pinchart Reviewed-by: Joerg Roedel --- Changes since V5: - None Changes since V4: - None Changes since V3: - None Changes since V2: - None Changes since V1: - Added Reviewed-by from Laurent drivers/iommu/ipmmu-vmsa.c | 5 ----- 1 file changed, 5 deletions(-) --- 0002/drivers/iommu/ipmmu-vmsa.c +++ work/drivers/iommu/ipmmu-vmsa.c 2016-09-20 21:46:26.000000000 +0900 @@ -766,11 +766,6 @@ static int ipmmu_probe(struct platform_d int irq; int ret; - if (!IS_ENABLED(CONFIG_OF) && !pdev->dev.platform_data) { - dev_err(&pdev->dev, "missing platform data\n"); - return -EINVAL; - } - mmu = devm_kzalloc(&pdev->dev, sizeof(*mmu), GFP_KERNEL); if (!mmu) { dev_err(&pdev->dev, "cannot allocate device data\n");