From patchwork Wed Jun 8 07:17:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 9163515 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 020EE60832 for ; Wed, 8 Jun 2016 07:30:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E7A3028376 for ; Wed, 8 Jun 2016 07:30:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DC62528380; Wed, 8 Jun 2016 07:30:26 +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 920EE28376 for ; Wed, 8 Jun 2016 07:30:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932883AbcFHH2I (ORCPT ); Wed, 8 Jun 2016 03:28:08 -0400 Received: from mail-pa0-f68.google.com ([209.85.220.68]:36689 "EHLO mail-pa0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932881AbcFHH2G (ORCPT ); Wed, 8 Jun 2016 03:28:06 -0400 Received: by mail-pa0-f68.google.com with SMTP id fg1so15927723pad.3; Wed, 08 Jun 2016 00:28:06 -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=XHMYFlqG/DrqWnI2ONF1qBGMawkS8H8a8/ImbJ5u4Zo=; b=lMryu0lv4bASSg37aZmaLxSC4wyuZOJVLjGka7bO4txZ75H6Wy9D+9al8sCOXYE5CL ++iN01hz0LNreB+yEGDn8WYOAfq8gBQjjxWofQVcxSjgOcLwEvhCrwAZBZUACP0aKhY5 G5W4zMP4RlFk1UBDcsZ9GSSQX+v3UsuG5MfCzFAVd9zD7oC9FZoX4e7nLt9ZNqbbt0iT tsSLvhCP2MqWcx3IwKVDGS3/I+xQ/9y0SvQtjiSSGskea+xnC45QzQ2LOLzNiv3il7Xx mLyYNxJ+nEUIDocSwaPXbkcrqcfA6JRhXAd99QnoZ04rho/Ar2+qcUvSMWP3P9lJeWlw IPuQ== 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=XHMYFlqG/DrqWnI2ONF1qBGMawkS8H8a8/ImbJ5u4Zo=; b=fYv3nzaa5mMvmEXbg3Cu2paa/WSldvBmCul8tGVZKB244Ml7ZKQLh+hVvqcqa6V0Bv QLpXavm2HklcB1yRLsgaxETgwcEsEq4Hy4wiYTLBU4h8/TrohgQU2fhphPjzFsH+0MXz jzt7BWYIluBoHAqxkDrJUwFPa3e3eIqsgoqybknlZREobT55KXyYWmt+Pg8SxNtQ6N/C xMwbuwUZIOeut3HsMv5q5rbUX3zRcOWzSPQCpE/RsI0nHybN29ifjNaaVkG73jEs77Cj KG1yLKd0koeuY9ZE34sWp37eEHATaxhc93oxULRbFBkj1xq2CUgIQ081fwXtnbX4qP16 IJ4g== X-Gm-Message-State: ALyK8tIyZgNZAm91Or6TjKmBqdWo6tz5Wal59nc9qJx/lDFRcNsQ7vYVGoWv8Sx+3F07ug== X-Received: by 10.66.132.7 with SMTP id oq7mr4318046pab.26.1465370885591; Wed, 08 Jun 2016 00:28:05 -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 o2sm40178188pfi.85.2016.06.08.00.28.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jun 2016 00:28:04 -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: Wed, 08 Jun 2016 16:17:46 +0900 Message-Id: <20160608071746.7560.31634.sendpatchset@little-apple> In-Reply-To: <20160608071737.7560.32571.sendpatchset@little-apple> References: <20160608071737.7560.32571.sendpatchset@little-apple> Subject: [PATCH v4 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 --- 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(-) --- 0001/drivers/iommu/ipmmu-vmsa.c +++ work/drivers/iommu/ipmmu-vmsa.c 2016-06-02 20:43:14.090607110 +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");