OSDN Git Service

cpufreq: Adjust includes to remove of_device.h
authorRob Herring <robh@kernel.org>
Wed, 29 Mar 2023 15:52:11 +0000 (10:52 -0500)
committerRob Herring <robh@kernel.org>
Thu, 13 Apr 2023 22:46:35 +0000 (17:46 -0500)
commit21bb32b155dfe7b40e5e6545f2df53f81f2e69cc
tree2fe756e09a00f6d2eeb25f335853ca8d5c4649c9
parent26c682676471777c8464645695d3590b9134a5e7
cpufreq: Adjust includes to remove of_device.h

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.

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Rafael J. Wysocki <rafael@kernel.org>
Link: https://lore.kernel.org/r/20230329-dt-cpu-header-cleanups-v1-14-581e2605fe47@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/cpufreq/cpufreq-dt-platdev.c
drivers/cpufreq/kirkwood-cpufreq.c
drivers/cpufreq/maple-cpufreq.c
drivers/cpufreq/pmac32-cpufreq.c
drivers/cpufreq/pmac64-cpufreq.c
drivers/cpufreq/qcom-cpufreq-hw.c
drivers/cpufreq/spear-cpufreq.c
drivers/cpufreq/tegra124-cpufreq.c
drivers/cpufreq/tegra20-cpufreq.c
include/linux/cpufreq.h