diff options
author | Rob Herring <robh@kernel.org> | 2023-03-29 10:52:11 -0500 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2023-04-13 17:46:35 -0500 |
commit | 21bb32b155dfe7b40e5e6545f2df53f81f2e69cc (patch) | |
tree | 2fe756e09a00f6d2eeb25f335853ca8d5c4649c9 /drivers/cpufreq/spear-cpufreq.c | |
parent | 26c682676471777c8464645695d3590b9134a5e7 (diff) | |
download | linux-21bb32b155dfe7b40e5e6545f2df53f81f2e69cc.tar.gz linux-21bb32b155dfe7b40e5e6545f2df53f81f2e69cc.tar.bz2 linux-21bb32b155dfe7b40e5e6545f2df53f81f2e69cc.zip |
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>
Diffstat (limited to 'drivers/cpufreq/spear-cpufreq.c')
-rw-r--r-- | drivers/cpufreq/spear-cpufreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/spear-cpufreq.c b/drivers/cpufreq/spear-cpufreq.c index c6fdf019dbde..78b875db6b66 100644 --- a/drivers/cpufreq/spear-cpufreq.c +++ b/drivers/cpufreq/spear-cpufreq.c @@ -18,7 +18,7 @@ #include <linux/err.h> #include <linux/init.h> #include <linux/module.h> -#include <linux/of_device.h> +#include <linux/of.h> #include <linux/platform_device.h> #include <linux/slab.h> #include <linux/types.h> |