From patchwork Wed May 17 10:06:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 9730639 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 5FD8A602DB for ; Wed, 17 May 2017 10:11:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 52B07205AF for ; Wed, 17 May 2017 10:11:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 45F762872D; Wed, 17 May 2017 10:11:00 +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.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, 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 DA88C205AF for ; Wed, 17 May 2017 10:10:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753865AbdEQKK7 (ORCPT ); Wed, 17 May 2017 06:10:59 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:35157 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753807AbdEQKKz (ORCPT ); Wed, 17 May 2017 06:10:55 -0400 Received: by mail-pf0-f196.google.com with SMTP id u26so1196057pfd.2; Wed, 17 May 2017 03:10:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=erQChBWYp7WzaWZAz7H0kzd7P2H7yz+mnYjbQ1sc46A=; b=L3ZHPs0XZS8yITXQX2b0ZK7D/4QzvCSEjyEZDPyUcj7hSwjDvlvt4VT5B17Xn91RgQ DmmfKIvpsInmxfegiiqd5IfHTuRozS/w3FyuL9BNKg3lgTp5QUOvX2PXaGtDNA/Z61TW 4w4DRKhxTGBiLZ9U9JCUAGNidW1GXVvYhEPgzaDhHrB7EfYwCvxdtLhePdCQzbgpJA5l RWbcczYUNmieEduZew2Iwr5JoxtMYjRyqaBZ1058dPnXUae/ldbijNM+TDcCIH0WF41O WQKjCbhbtKo3RV7Ke7ZjoUzvPcZD19ig2746bhCpa6J2lI4amxNTtvMptn6R/pzEnS0D y4qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:date:message-id:in-reply-to :references:subject; bh=erQChBWYp7WzaWZAz7H0kzd7P2H7yz+mnYjbQ1sc46A=; b=tjW40X6CHv0wYSHBUxtSLfG452gzC/R2U6fBfwi6QKeBw/Eajge8GvPr78Gt0ymXO/ ajeIr3XHpb4tcQYSeoUfLCitm+2nyUX3pJcXxvUzYZy4lMa/52TzuPYD38WAQ9tl1dlk yzFN4QwKFIEAFt/Q0RqE6ZE4nV8ETbhmhXihFfmwwzZQWQlvpkTGmpgzd4u2HWI08PaC HZkMw0P0BWgSRPDEMHdZnWDUmThvk1OmqKv6xUKsxjLeNxoDFDPIaSlKhqnNV6QuJwQ3 WE6P5iBsqofUEypLYIvN5ygrveceSCBHysRDzh8qItugDKuIUx7sMV9/0Av1gnWjrIC1 tecA== X-Gm-Message-State: AODbwcDOG8YczA3dxxVA7wXMP5328urIK/fwnygDDE046ByMjYYJYRQi 1pdXLfTkX99dGfM8K4s= X-Received: by 10.98.69.193 with SMTP id n62mr2903843pfi.216.1495015854880; Wed, 17 May 2017 03:10:54 -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 s23sm2962304pfg.81.2017.05.17.03.10.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 May 2017 03:10:53 -0700 (PDT) From: Magnus Damm To: joro@8bytes.org Cc: laurent.pinchart+renesas@ideasonboard.com, geert+renesas@glider.be, robin.murphy@arm.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, iommu@lists.linux-foundation.org, horms+renesas@verge.net.au, Magnus Damm , sricharan@codeaurora.org, m.szyprowski@samsung.com Date: Wed, 17 May 2017 19:06:27 +0900 Message-Id: <149501558731.21593.14702289265585992485.sendpatchset@little-apple> In-Reply-To: <149501557669.21593.1017116915706613060.sendpatchset@little-apple> References: <149501557669.21593.1017116915706613060.sendpatchset@little-apple> Subject: [PATCH v8 01/08] 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 Reviewed-by: Geert Uytterhoeven --- Changes since V7: - Added Reviewed-by from Geert - Thanks! drivers/iommu/ipmmu-vmsa.c | 5 ----- 1 file changed, 5 deletions(-) --- 0001/drivers/iommu/ipmmu-vmsa.c +++ work/drivers/iommu/ipmmu-vmsa.c 2017-05-17 16:30:57.620607110 +0900 @@ -768,11 +768,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");