From patchwork Tue Sep 20 13:44:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 9341735 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 286F6607D0 for ; Tue, 20 Sep 2016 13:55:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 19D5629720 for ; Tue, 20 Sep 2016 13:55:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0DF8529778; Tue, 20 Sep 2016 13:55:06 +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 EDA6929720 for ; Tue, 20 Sep 2016 13:55:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752263AbcITNwk (ORCPT ); Tue, 20 Sep 2016 09:52:40 -0400 Received: from mail-pa0-f66.google.com ([209.85.220.66]:36610 "EHLO mail-pa0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754814AbcITNwi (ORCPT ); Tue, 20 Sep 2016 09:52:38 -0400 Received: by mail-pa0-f66.google.com with SMTP id my20so962864pab.3; Tue, 20 Sep 2016 06:52:38 -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=qqM/QHXYMJsr6hIjRHcs0ICzxZVOpAD7S82G78i5ExA=; b=q8OT6Zg3IfJ5ZP62N2JaA6vfFh/279smPJJ+E8Chwz8E+h7vZ0yAtue3rVTPC+PkbB pQ1piQ2O1Be7tk2hdw5n1v/pLyzyudat2dA7DEBihxnI8JZLS4IUO6aJHJ8T/atRbSyL D/9BGT4c2If4FsOLSGvOE9f57336gsf8GwlNS640aPFD7KemhQX9OcnM/QADkEmkhYqo qljvIaKq6MT0Ay0vyQmpcbvzuSu1DRuypy6EJ7GOV57loyQLhXvUz8zRaiX/bT4VNHf6 Nh6+RgkdsPfUuJwygXqQoipLVkY+NVG1crNKexlBxRMENQF6rRDS6GRMmerhNz5Ynns7 hFSQ== 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=qqM/QHXYMJsr6hIjRHcs0ICzxZVOpAD7S82G78i5ExA=; b=fqo6Okb/V0jdE0v47hpGuNPQty8mOSsd1pPmGssN/ptf1BHrYpJsxDFEbOCv/OGJpQ 1a4B7YipwnZRM7eTRdpKui87uJAnsDhKc/6y3N6r3QWiG/uhUe69Gg2rb+fLqnV4WAEY 50/4yR6SCkjKYDPrMdWW9+vZXvgjLp43oEZsRQooCfmtY9aa1tyOqhVLkeF7y8QKReyK MCB6wIuuvFuvB+hwllxIYecSKAj0Gb1RFKey8+j1b5/y2yJZ27a6Ch1Y3V0eXVqcWPyL 0AELBRC9jGfCR45WBllF9gPAdTkiADih64czAIlpfXAegpnVEGtDHsa+gLrdUxpygGly Cuyw== X-Gm-Message-State: AE9vXwOT2rKV/OYOHBPNSJq+f5b5fMsPQr4CITV2WZH5CbiS/vqRnwhVr0Cjjpl1JUKYYw== X-Received: by 10.66.253.7 with SMTP id zw7mr55929068pac.25.1474379557711; Tue, 20 Sep 2016 06:52: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 25sm32128209pfj.23.2016.09.20.06.52.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Sep 2016 06:52:36 -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: Tue, 20 Sep 2016 22:44:05 +0900 Message-Id: <20160920134405.25470.8692.sendpatchset@little-apple> In-Reply-To: <20160920134355.25470.93701.sendpatchset@little-apple> References: <20160920134355.25470.93701.sendpatchset@little-apple> Subject: [PATCH v5 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 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");