Message ID | 20230329-dt-cpu-header-cleanups-v1-18-581e2605fe47@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp514311vqo; Wed, 29 Mar 2023 08:55:35 -0700 (PDT) X-Google-Smtp-Source: AKy350Zox019xwzutRtNtv760oWv4LBQwZiHrCc4ualLoW1I2fJCQPTXz5KQRaCe959LR7d0Yfq2 X-Received: by 2002:a17:906:2a84:b0:932:e9c7:c32 with SMTP id l4-20020a1709062a8400b00932e9c70c32mr21933543eje.59.1680105335421; Wed, 29 Mar 2023 08:55:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680105335; cv=none; d=google.com; s=arc-20160816; b=fdngIVjGbdSuQLlMvDG0Yav+DAek6FEumG5I9x3FbIksPl5Sr8I6yMooADymAYZODK 8BzK3RUrk33CE3qyf6ZULxAEIghREPs74febe96Q/lvv4EAk1ZsYoRBsmb1DZmXyIPt1 GkFvE81AEJ7CXhCTCn5iZWHsKcDaf8Hc8H4+0rr4zLy+039ZTNrnbKM0rrYpAvZpDzGK Lp/7ikhh5nPbhbGEDsugb9nC+a3R38vnW6I8PNdaGA4d3z7IccCxA8OtJoW8Qa5yNIp+ WI5NkH0I/iYcYE//ohSdjq5VaMsK90mxjk6VM7aLMKLYvL5ZcGIdVrm06KaD1qZoF9hR lJig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from; bh=GxrilhvfwDlef/A2YTUefG5k1p916jMGPiiHrDKkFR0=; b=UiJgYHOAKd9LuHlE6VLB8QVo+lKS0QDPqHx/UyOaf4FxWYEbrLEbrqwD162as3forY j5C3DDcRr9b/RJI9uZQm1ype0hhbgY/fHNSUvNPlpD45jMlTNZgI/9FDbUmQbWVgRcYr yf63gNSka35V0TKoUj7IKgb+by9ALWEgZe7c5jKafDI383dH+1BvT0NfY73B/BxgF49S bIGd+jltep284GHGQrGzkaTTLmoTLXuDp2z8qPaISMGUc+lPPg3Ur+gOJ8TBjXI8DK7a DKb+pw8HXzpLqUu26odAfGVbsiq+TGNDcKqto4yyV5ryaVlvtesZJyN/qCAX253Y9DbW fPOQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p24-20020a17090635d800b009269fbb187csi28997161ejb.304.2023.03.29.08.55.09; Wed, 29 Mar 2023 08:55:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S231354AbjC2Pxz (ORCPT <rfc822;rua109.linux@gmail.com> + 99 others); Wed, 29 Mar 2023 11:53:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231236AbjC2Px1 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 29 Mar 2023 11:53:27 -0400 Received: from mail-oo1-f53.google.com (mail-oo1-f53.google.com [209.85.161.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 109B31BEF; Wed, 29 Mar 2023 08:53:26 -0700 (PDT) Received: by mail-oo1-f53.google.com with SMTP id f24-20020a4aeb18000000b0053b78077c9dso2494361ooj.12; Wed, 29 Mar 2023 08:53:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680105205; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GxrilhvfwDlef/A2YTUefG5k1p916jMGPiiHrDKkFR0=; b=xH5vIBcJaBNymAdRjOriNwPMqSfxAVxavkjk2rSQBqcSz6btyyJqXJvZ/Chccf2ZjQ ULHOgnkaYRzJzWFOkDWs1v3YCH53EQVvOjFmyF0s/pAbjNn5lJbznIR5BS4jefdODydr CbpadiskLAW05rF8AO48+fLXGktVZ7tj8dJBrbqzV9CwW6MnYsq0UqNyNdFvvYWVz3Cs ExXYiuLQsnDuIclh322Q7kztCFU1mZkClj29l8f5Xr0ktKH9eLFgE6Q3FPkOT1fC1m0f VTr+jhYWRr253+pj2V6QaOqU8da4iuRcD1obRnRm5AlLOH9u5f1Zr4QyeJ9zhH/DT/2o QNiw== X-Gm-Message-State: AO0yUKUu72R+yE2qOLYEdZfHK0Sm0nej70Wc67uKCu+haFatAhT8CTxo H8P7Tf86J0c13YdvxGU2+Q== X-Received: by 2002:a4a:52d4:0:b0:53b:8b5:48d0 with SMTP id d203-20020a4a52d4000000b0053b08b548d0mr9782179oob.1.1680105205203; Wed, 29 Mar 2023 08:53:25 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id 4-20020a4a1704000000b00524faf3d2d7sm13940444ooe.41.2023.03.29.08.53.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 08:53:24 -0700 (PDT) Received: (nullmailer pid 3198097 invoked by uid 1000); Wed, 29 Mar 2023 15:52:45 -0000 From: Rob Herring <robh@kernel.org> Date: Wed, 29 Mar 2023 10:52:15 -0500 Subject: [PATCH 18/19] OPP: Adjust includes to remove of_device.h MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230329-dt-cpu-header-cleanups-v1-18-581e2605fe47@kernel.org> References: <20230329-dt-cpu-header-cleanups-v1-0-581e2605fe47@kernel.org> In-Reply-To: <20230329-dt-cpu-header-cleanups-v1-0-581e2605fe47@kernel.org> To: "David S. Miller" <davem@davemloft.net>, Rob Herring <robh+dt@kernel.org>, Frank Rowand <frowand.list@gmail.com>, Russell King <linux@armlinux.org.uk>, Chen-Yu Tsai <wens@csie.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Samuel Holland <samuel@sholland.org>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, "Rafael J. Wysocki" <rafael@kernel.org>, Daniel Lezcano <daniel.lezcano@linaro.org>, Thomas Gleixner <tglx@linutronix.de>, Amit Daniel Kachhap <amit.kachhap@gmail.com>, Viresh Kumar <viresh.kumar@linaro.org>, Lukasz Luba <lukasz.luba@arm.com>, Amit Kucheria <amitk@kernel.org>, Zhang Rui <rui.zhang@intel.com>, Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Michael Ellerman <mpe@ellerman.id.au>, Nicholas Piggin <npiggin@gmail.com>, Christophe Leroy <christophe.leroy@csgroup.eu>, Thierry Reding <thierry.reding@gmail.com>, Jonathan Hunter <jonathanh@nvidia.com>, Yangtao Li <tiny.windzz@gmail.com>, Lorenzo Pieralisi <lpieralisi@kernel.org>, Sudeep Holla <sudeep.holla@arm.com>, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Anup Patel <anup@brainfault.org>, Huacai Chen <chenhuacai@kernel.org>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Marc Zyngier <maz@kernel.org>, Viresh Kumar <vireshk@kernel.org>, Nishanth Menon <nm@ti.com>, Stephen Boyd <sboyd@kernel.org> Cc: sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-riscv@lists.infradead.org, linux-pm@vger.kernel.org, linux-mediatek@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-mips@vger.kernel.org X-Mailer: b4 0.13-dev X-Spam-Status: No, score=0.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761718132525545564?= X-GMAIL-MSGID: =?utf-8?q?1761718132525545564?= |
Series |
DT header disentangling, part 1
|
|
Commit Message
Rob Herring
March 29, 2023, 3:52 p.m. UTC
Now that of_cpu_device_node_get() is defined in of.h, of_device.h is just
implicitly including other includes, and is no longer needed. Adjust the
include files with what was implicitly included by of_device.h (cpu.h and
of.h) and drop including of_device.h.
Signed-off-by: Rob Herring <robh@kernel.org>
---
Please ack and I will take the series via the DT tree.
---
drivers/opp/of.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 29-03-23, 10:52, Rob Herring wrote: > Now that of_cpu_device_node_get() is defined in of.h, of_device.h is just > implicitly including other includes, and is no longer needed. Adjust the > include files with what was implicitly included by of_device.h (cpu.h and > of.h) and drop including of_device.h. > > Signed-off-by: Rob Herring <robh@kernel.org> > --- > Please ack and I will take the series via the DT tree. > --- > drivers/opp/of.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/opp/of.c b/drivers/opp/of.c > index e55c6095adf0..63b126c6215e 100644 > --- a/drivers/opp/of.c > +++ b/drivers/opp/of.c > @@ -13,7 +13,7 @@ > #include <linux/cpu.h> > #include <linux/errno.h> > #include <linux/device.h> > -#include <linux/of_device.h> > +#include <linux/of.h> > #include <linux/pm_domain.h> > #include <linux/slab.h> > #include <linux/export.h> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
diff --git a/drivers/opp/of.c b/drivers/opp/of.c index e55c6095adf0..63b126c6215e 100644 --- a/drivers/opp/of.c +++ b/drivers/opp/of.c @@ -13,7 +13,7 @@ #include <linux/cpu.h> #include <linux/errno.h> #include <linux/device.h> -#include <linux/of_device.h> +#include <linux/of.h> #include <linux/pm_domain.h> #include <linux/slab.h> #include <linux/export.h>