From patchwork Thu May 27 19:37:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 448867 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp810597jac; Thu, 27 May 2021 12:37:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/Zbc4RCnyxpg/gI0G3g0/E6q4U+7g9JbxF9xB2ElEDMwVixa+03eoZ/XChA1+dkFp0kkj X-Received: by 2002:a05:6638:cc9:: with SMTP id e9mr5023597jak.46.1622144239726; Thu, 27 May 2021 12:37:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622144239; cv=none; d=google.com; s=arc-20160816; b=jgvw9LWSSuuo4n2jRqqfPb7uUaUUH3Ak+zlVNDZzyWFkByZq+gStVRUvva9CiNWU2e 2nH3wBmy6ktYF94z9sLVul3jxwIRbSasAla6JnNd/hAL5/4qKcobW2kIpPqA7+Jl4Jvc cjCHoxNh/XUYaSyPOgkOwzNSkYen6GyyYZjLuVUpXuXzc2HEkf/nkDSEImbnIjg0qqHf DeyKAES2nrZ9cEVgn6KFGO2RhUtb27VzEr61QyjzobsVD7cGWMLn7eBHLXJbn+R4jPYM gwO56UP1gC/Dxy4GVdg6fkZ/ZDs7640mVtKXwk8ZFD1E8qeThPFk5Q5V2w2ZI7+yKd1J VIcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=ydVf7ZObUZ9d00EfB5ZI51TsSKUWLoqndzojvJxksJI=; b=TiUWOcnLxFyf/fL8NfQB3CGtPiD7CrdfPGx8/OJpHCmrUdB4Mn9u33VofbBNI/tkNb uMUVypp8Pn/3k7TI9Zhz6Tz5/rX24urFvDPQxJ8WXVZ/OnRTl6JDkjv9I8ysOipjCEi6 J5JEDMN4fCZVenJQP1yv/6ITUQEW1EdvmwnBjzQZOETiEfH9Hwx8h7azXKoO4qEXNWcz kHPhltsR7IUYpdHUWu51mr0ZKS1Jf+MtBeX9HQd/q6PksqFX/HIK65iX28W/GEsYtyLY iuW/dERQQ0CWhms6VX3AVRU0xnCHnrALL7+qW9RVOMY2ya9DOAbrSzws44IzAo+Z2R8E v/8Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g3si3839987jan.54.2021.05.27.12.37.19; Thu, 27 May 2021 12:37:19 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235065AbhE0Tiv (ORCPT + 7 others); Thu, 27 May 2021 15:38:51 -0400 Received: from mail-ot1-f43.google.com ([209.85.210.43]:40636 "EHLO mail-ot1-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234187AbhE0Tiu (ORCPT ); Thu, 27 May 2021 15:38:50 -0400 Received: by mail-ot1-f43.google.com with SMTP id 80-20020a9d08560000b0290333e9d2b247so1296393oty.7 for ; Thu, 27 May 2021 12:37:17 -0700 (PDT) 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:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ydVf7ZObUZ9d00EfB5ZI51TsSKUWLoqndzojvJxksJI=; b=WUV5+Y/2VTbqEatSdNeQFofPsbKdtc3rpKapipOybdaaIL9C4TyzIftydUJv5/bIjg Jg5fVmvC2yiMs9WlECFZaDtad5FgmiCWNPsr8LxvPw+aWBT75d5wmkjN4U2+vVHLdfuO FyoX+MVLk5XVUyTCDLz+7LcKu3zxovf8qEssoyvL/YGoqqV8Yd0bhhgRZhXJfeSHBMNE QvAtSlNqfD5PH6wykXILTYDTkhjg+7qxxr001fsPPK04DVX0QdRM8TESw99/vnTc51vQ jfAydDHehD5x76k0jvHd9L4ZvLIsrgk+BwcuCMnWlPhdlL2KHAOpY7jn629dFtYTPi9W Cv+A== X-Gm-Message-State: AOAM532fmEE01x8pWPkqaEMzeJMdcW7Ll6EQB23bV5CKoE9+mC42B6Bz QvptGxLKNVTlNKPXcBiNqg== X-Received: by 2002:a9d:12d6:: with SMTP id g80mr4036707otg.107.1622144237034; Thu, 27 May 2021 12:37:17 -0700 (PDT) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id v19sm686961otk.22.2021.05.27.12.37.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 May 2021 12:37:13 -0700 (PDT) From: Rob Herring To: Joerg Roedel , Will Deacon Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Frank Rowand , iommu@lists.linux-foundation.org, Robin Murphy , Rob Clark , Marek Szyprowski , Krzysztof Kozlowski , Bjorn Andersson , Yong Wu , Matthias Brugger , Heiko Stuebner , Jean-Philippe Brucker Subject: [PATCH 2/2] iommu: Drop unnecessary of_iommu.h includes Date: Thu, 27 May 2021 14:37:10 -0500 Message-Id: <20210527193710.1281746-2-robh@kernel.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210527193710.1281746-1-robh@kernel.org> References: <20210527193710.1281746-1-robh@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The only place of_iommu.h is needed is in drivers/of/device.c. Remove it from everywhere else. Cc: Will Deacon Cc: Robin Murphy Cc: Joerg Roedel Cc: Rob Clark Cc: Marek Szyprowski Cc: Krzysztof Kozlowski Cc: Bjorn Andersson Cc: Yong Wu Cc: Matthias Brugger Cc: Heiko Stuebner Cc: Jean-Philippe Brucker Cc: Frank Rowand Cc: linux-arm-kernel@lists.infradead.org Cc: iommu@lists.linux-foundation.org Signed-off-by: Rob Herring --- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 1 - drivers/iommu/arm/arm-smmu/arm-smmu.c | 1 - drivers/iommu/arm/arm-smmu/qcom_iommu.c | 1 - drivers/iommu/exynos-iommu.c | 1 - drivers/iommu/ipmmu-vmsa.c | 1 - drivers/iommu/msm_iommu.c | 1 - drivers/iommu/mtk_iommu.c | 1 - drivers/iommu/mtk_iommu_v1.c | 1 - drivers/iommu/omap-iommu.c | 1 - drivers/iommu/rockchip-iommu.c | 1 - drivers/iommu/virtio-iommu.c | 1 - drivers/of/platform.c | 1 - 12 files changed, 12 deletions(-) -- 2.27.0 Acked-by: Heiko Stuebner Reviewed-by: Robin Murphy diff --git a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c index 54b2f27b81d4..2ddc3cd5a7d1 100644 --- a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c +++ b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c @@ -23,7 +23,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu.c b/drivers/iommu/arm/arm-smmu/arm-smmu.c index 6f72c4d208ca..dba15f312cbd 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu.c @@ -31,7 +31,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/iommu/arm/arm-smmu/qcom_iommu.c b/drivers/iommu/arm/arm-smmu/qcom_iommu.c index 4294abe389b2..021cf8f65ffc 100644 --- a/drivers/iommu/arm/arm-smmu/qcom_iommu.c +++ b/drivers/iommu/arm/arm-smmu/qcom_iommu.c @@ -25,7 +25,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c index 7623d8c371f5..d0fbf1d10e18 100644 --- a/drivers/iommu/exynos-iommu.c +++ b/drivers/iommu/exynos-iommu.c @@ -17,7 +17,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c index aaa6a4d59057..51ea6f00db2f 100644 --- a/drivers/iommu/ipmmu-vmsa.c +++ b/drivers/iommu/ipmmu-vmsa.c @@ -19,7 +19,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/iommu/msm_iommu.c b/drivers/iommu/msm_iommu.c index 7880f307cb2d..3a38352b603f 100644 --- a/drivers/iommu/msm_iommu.c +++ b/drivers/iommu/msm_iommu.c @@ -18,7 +18,6 @@ #include #include #include -#include #include #include diff --git a/drivers/iommu/mtk_iommu.c b/drivers/iommu/mtk_iommu.c index e06b8a0e2b56..6f7c69688ce2 100644 --- a/drivers/iommu/mtk_iommu.c +++ b/drivers/iommu/mtk_iommu.c @@ -19,7 +19,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/iommu/mtk_iommu_v1.c b/drivers/iommu/mtk_iommu_v1.c index 5915d7b38211..778e66f5f1aa 100644 --- a/drivers/iommu/mtk_iommu_v1.c +++ b/drivers/iommu/mtk_iommu_v1.c @@ -22,7 +22,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/iommu/omap-iommu.c b/drivers/iommu/omap-iommu.c index 26e517eb0dd3..91749654fd49 100644 --- a/drivers/iommu/omap-iommu.c +++ b/drivers/iommu/omap-iommu.c @@ -22,7 +22,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/iommu/rockchip-iommu.c b/drivers/iommu/rockchip-iommu.c index 7a2932772fdf..bb50e015b1d5 100644 --- a/drivers/iommu/rockchip-iommu.c +++ b/drivers/iommu/rockchip-iommu.c @@ -21,7 +21,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/iommu/virtio-iommu.c b/drivers/iommu/virtio-iommu.c index 7c02481a81b4..d9f46f2c3058 100644 --- a/drivers/iommu/virtio-iommu.c +++ b/drivers/iommu/virtio-iommu.c @@ -14,7 +14,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/of/platform.c b/drivers/of/platform.c index 25d448f5af91..74afbb7a4f5e 100644 --- a/drivers/of/platform.c +++ b/drivers/of/platform.c @@ -17,7 +17,6 @@ #include #include #include -#include #include #include #include