diff mbox series

[v2] ARM: davinci: Drop unused includes

Message ID 20230823165637.2466480-1-robh@kernel.org (mailing list archive)
State Accepted
Commit 6e73bd23a1cdcf1416ebd57ff673b5f601963ed2
Headers show
Series [v2] ARM: davinci: Drop unused includes | expand

Commit Message

Rob Herring (Arm) Aug. 23, 2023, 4:56 p.m. UTC
of_platform.h include is not needed, so drop it. It implicitly includes
of.h (for now) which is needed.

Signed-off-by: Rob Herring <robh@kernel.org>
---
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(-)

Comments

Bartosz Golaszewski Aug. 24, 2023, 7:44 a.m. UTC | #1
On Wed, Aug 23, 2023 at 6:57 PM Rob Herring <robh@kernel.org> wrote:
>
> of_platform.h include is not needed, so drop it. It implicitly includes
> of.h (for now) which is needed.
>
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
> 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(-)
>
> diff --git a/arch/arm/mach-davinci/pdata-quirks.c b/arch/arm/mach-davinci/pdata-quirks.c
> index b8b5f1a5e092..b5b5c7bda61e 100644
> --- a/arch/arm/mach-davinci/pdata-quirks.c
> +++ b/arch/arm/mach-davinci/pdata-quirks.c
> @@ -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>
> --
> 2.40.1
>

Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
patchwork-bot+linux-soc@kernel.org Aug. 29, 2023, 8:20 p.m. UTC | #2
Hello:

This patch was applied to soc/soc.git (for-next)
by Arnd Bergmann <arnd@arndb.de>:

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.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
> 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!
diff mbox series

Patch

diff --git a/arch/arm/mach-davinci/pdata-quirks.c b/arch/arm/mach-davinci/pdata-quirks.c
index b8b5f1a5e092..b5b5c7bda61e 100644
--- a/arch/arm/mach-davinci/pdata-quirks.c
+++ b/arch/arm/mach-davinci/pdata-quirks.c
@@ -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>