projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1630928
)
ARM: cpuidle: Drop of_device.h include
author
Rob Herring
<robh@kernel.org>
Wed, 29 Mar 2023 15:52:04 +0000
(10:52 -0500)
committer
Rob Herring
<robh@kernel.org>
Thu, 13 Apr 2023 22:46:34 +0000
(17:46 -0500)
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. Just drop
including of_device.h as of.h is already included.
Link:
https://lore.kernel.org/r/20230329-dt-cpu-header-cleanups-v1-7-581e2605fe47@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
arch/arm/kernel/cpuidle.c
patch
|
blob
|
history
diff --git
a/arch/arm/kernel/cpuidle.c
b/arch/arm/kernel/cpuidle.c
index
437ff39
..
fba1f8b
100644
(file)
--- a/
arch/arm/kernel/cpuidle.c
+++ b/
arch/arm/kernel/cpuidle.c
@@
-5,7
+5,6
@@
#include <linux/cpuidle.h>
#include <linux/of.h>
-#include <linux/of_device.h>
#include <asm/cpuidle.h>
extern struct of_cpuidle_method __cpuidle_method_of_table[];