From patchwork Tue Mar 7 03:16:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 9608061 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 7A8DF60414 for ; Tue, 7 Mar 2017 03:33:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 695B32832D for ; Tue, 7 Mar 2017 03:33:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5E23D28477; Tue, 7 Mar 2017 03:33:47 +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=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 2FD652832D for ; Tue, 7 Mar 2017 03:33:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932268AbdCGDcF (ORCPT ); Mon, 6 Mar 2017 22:32:05 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:36845 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754072AbdCGDcD (ORCPT ); Mon, 6 Mar 2017 22:32:03 -0500 Received: by mail-pg0-f65.google.com with SMTP id 25so21552879pgy.3; Mon, 06 Mar 2017 19:30:40 -0800 (PST) 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=mGgUi+BjLI7AylyHpRM3inpsJ4C4KDCfE6jlCFCHAzw=; b=sPIHR0BdT/r4MS4ipmKquA3mEVHsDCbjtExnSbWkuEC2rqnimjU38ErMeo56xrLkZA aSe9YfHGXNL5iQV+vgTvoCKjdtSjipr4kNy/xew6exxyzZPUMiBXTGapxHDwP/pLSG16 HbL3XkVMNzSj4n3MonpIRrIkflXJa+p7cJVXuPgy0WP310tnpsN49oUaXOuuXcDTfERP 1jfuoOQyCjI1J6f+W0QkZgwaIWYCUu1Yx/YI0ei2LJI1Wkk9bCqeyQfyB9UwAmucSgSv NI7A15jeMBL6RhHi9NF9WOrn/1/UociVlLZx5l2/izCjSQDmFsaKa8vdOnA0a6pNq4dT yf8Q== 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=mGgUi+BjLI7AylyHpRM3inpsJ4C4KDCfE6jlCFCHAzw=; b=nGdEzmTjlbMqsOgqXbJQeFf/5oS8YhSLgB4dUd07GRTFH3GP/mRi0H6lMqHnzl7zoZ NffG2UiEYF1X2QzNqilA5P8EbPxxU3ZBgo2nuM+j0B16QHKBOdgiyr3OQ3Niwkww9Vit OXtFashAavLqMPZza1cK6ar1X7Gr1/t694gDkuA3UHp7DIKBykpd5XdrqeIW5CxRhTHJ wI7NulrJ7eAEKfMgoiEJNsnokN0megbB071YOQCpB47Cw+b3qs1OPUhn9FksTJzMZ7HN 2SAZyvdwTp14IziSo6WnrLsVi10K/8VEyYfalbHqY9p9Dhm9vwu4yGaMwPxtzrlps1Si hm4A== X-Gm-Message-State: AMke39kjvFnYEn9TuoT+wurlAPrC50vGhRmM0eQJ1tQ62navMzD9gC8B4855RaZ0m7+esg== X-Received: by 10.99.163.2 with SMTP id s2mr24605774pge.43.1488856956744; Mon, 06 Mar 2017 19:22:36 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id s87sm2542809pfa.29.2017.03.06.19.22.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Mar 2017 19:22:35 -0800 (PST) From: Magnus Damm To: joro@8bytes.org Cc: laurent.pinchart+renesas@ideasonboard.com, geert+renesas@glider.be, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, iommu@lists.linux-foundation.org, horms+renesas@verge.net.au, Magnus Damm , robin.murphy@arm.com, m.szyprowski@samsung.com Date: Tue, 07 Mar 2017 12:16:53 +0900 Message-Id: <148885661365.28553.9778846573359254430.sendpatchset@little-apple> In-Reply-To: <148885660307.28553.995847796823338863.sendpatchset@little-apple> References: <148885660307.28553.995847796823338863.sendpatchset@little-apple> Subject: [PATCH v7 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 Reviewed-by: Geert Uytterhoeven --- Changes since V6: - None drivers/iommu/ipmmu-vmsa.c | 5 ----- 1 file changed, 5 deletions(-) --- 0001/drivers/iommu/ipmmu-vmsa.c +++ work/drivers/iommu/ipmmu-vmsa.c 2017-03-06 17:25:49.000000000 +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");