Skip to contentSkip to conversation

ARM: davinci: Drop unused includes

PATCH Applied Rob Herring 3 participants 3 messages Aug 23, 2023 – Aug 29, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: davinci: Drop unused includes

of_platform.h include is not needed, so drop it. It implicitly includes of.h (for now) which is needed.

---
Arnd, Here's one more that slipped thru the cracks. Please take directly.

v2: Fix subject to be 'davinci' not 'keystone'

---
 arch/arm/mach-davinci/pdata-quirks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-davinci/pdata-quirks.c +1 -1
index b8b5f1a5e092..b5b5c7bda61e 100644
@@ -5,7 +5,7 @@
  * Copyright (C) 2016 BayLibre, Inc
  */
 #include <linux/kernel.h>
-#include <linux/of_platform.h>
+#include <linux/of.h>
 
 #include <media/i2c/tvp514x.h>
 #include <media/i2c/adv7343.h>
Signature · 1 line
2.40.1
Acked-by on v2 1/1
#1 lore raw
Quoted 28 lines · Rob Herring

of_platform.h include is not needed, so drop it. It implicitly includes of.h (for now) which is needed.

---
Arnd, Here's one more that slipped thru the cracks. Please take directly.

v2: Fix subject to be 'davinci' not 'keystone'

---
 arch/arm/mach-davinci/pdata-quirks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-davinci/pdata-quirks.c +1 -2
index b8b5f1a5e092..b5b5c7bda61e 100644
@@ -5,7 +5,7 @@
  * Copyright (C) 2016 BayLibre, Inc
  */
 #include <linux/kernel.h>
-#include <linux/of_platform.h>
+#include <linux/of.h>
 
 #include <media/i2c/tvp514x.h>
 #include <media/i2c/adv7343.h>
--
Quoted 2 lines

2.40.1

#2 lore raw
In reply to Rob Herring
This patch was applied to soc/soc.git (for-next) by Arnd Bergmann <[email protected]>:

Hello:

This patch was applied to soc/soc.git (for-next)
by Arnd Bergmann <[email protected]>:

Quoted 9 lines · On Wed, 23 Aug 2023 11:56:38 -0500 you wrote:

of_platform.h include is not needed, so drop it. It implicitly includes of.h (for now) which is needed.

---
Arnd, Here's one more that slipped thru the cracks. Please take directly.

[...]

Here is the summary with links:
- [v2] ARM: davinci: Drop unused includes

    https://git.kernel.org/soc/soc/c/6e73bd23a1cd

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html