From patchwork Thu Jun 2 15:55:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 9150847 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 6773960221 for ; Thu, 2 Jun 2016 16:07:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4114420410 for ; Thu, 2 Jun 2016 16:07:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 34ADB26490; Thu, 2 Jun 2016 16:07:37 +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 00A8220410 for ; Thu, 2 Jun 2016 16:07:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932900AbcFBQF5 (ORCPT ); Thu, 2 Jun 2016 12:05:57 -0400 Received: from mail-pa0-f67.google.com ([209.85.220.67]:35722 "EHLO mail-pa0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932169AbcFBQF4 (ORCPT ); Thu, 2 Jun 2016 12:05:56 -0400 Received: by mail-pa0-f67.google.com with SMTP id gp3so3653656pac.2; Thu, 02 Jun 2016 09:05:55 -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=+mqR67G7CBPFgF+6qlDFghEJTDj7vWqXewFeB65JI/k=; b=t2xtPCMEb8dcgpuEpnq7cK3zwR7Jb4fMFfIo7Svs3YoJuRrAEftPXv/ex/LzEDwRaD K816Zo7hAD2iW2gqAQk4ws2VeURdBgkEiqxr+mc7zbAAiEuZIc/Rymni2XNQmlo+++jw z0LPyNfThQ+oe1rLIW/a3t3plV0vQ6UnJLrhG+6qYS5AxLvO5dHTUa3m6BH0NAdIqSSh 3X82IpLUIxCPcEIys4fXXjbJMwrl4Y/AzZAOgy9KZ/VYBicihyx0+HWyBh8tPRnin1ul Cnw1w8CgY8tWGwWKcS3U1zo7qPsia6JQJCpO0cnaZGo6qy+figsMc0fUp1obJfixh8hJ TJ6A== 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=+mqR67G7CBPFgF+6qlDFghEJTDj7vWqXewFeB65JI/k=; b=i+xxuHXvz0t4pRmDvndTFI8rqEQtYUU556rdJ1EG8TkKnw35petGlS2oQveZSleDC2 4VfEFWet48YElHhlIju+00v6lsIuCzsymYrr5zMjx1OtaN7QNiYfoRdKWL+bZqO0EZEE CkSmJV/PoCjlNtq3nhhpfFslz4JNpfA8hjU9hVF/lCFVxUujP5LpfW94GlEcpeZACvz8 fmJaI8AiSH8d4MZvDqB5A1KEa/garKX1gZnffwKPt4UbxjQSrLYT2Y/BZaEOQPZdx14w Llu43XScZc6Qq3Py2UlebIxU4cfTMTlCccMnBTYTfns/5TAwHoey07F42Uoh0/jNsmo5 Gt7w== X-Gm-Message-State: ALyK8tKPfGEExc24FI56b/lcZIdTAKXmK2YrF8uKh3hEcSYom4E/ggnr1VGsVTu9XxbwGw== X-Received: by 10.66.166.78 with SMTP id ze14mr6451636pab.149.1464883555151; Thu, 02 Jun 2016 09:05:55 -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 x19sm1844732pfi.81.2016.06.02.09.05.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Jun 2016 09:05:53 -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: Fri, 03 Jun 2016 00:55:29 +0900 Message-Id: <20160602155529.31018.53638.sendpatchset@little-apple> In-Reply-To: <20160602155519.31018.59925.sendpatchset@little-apple> References: <20160602155519.31018.59925.sendpatchset@little-apple> Subject: [PATCH v3 01/06] 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 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");