2023-07-17 23:32:48

by Rob Herring (Arm)

[permalink] [raw]
Subject: [PATCH] ARM: dove: Drop unused includes

Several includes are not needed, so drop them.

Signed-off-by: Rob Herring <[email protected]>
---
arch/arm/mach-dove/common.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/arch/arm/mach-dove/common.c b/arch/arm/mach-dove/common.c
index cd4ae7e4768d..3aea90bbb41a 100644
--- a/arch/arm/mach-dove/common.c
+++ b/arch/arm/mach-dove/common.c
@@ -9,8 +9,6 @@
#include <linux/dma-mapping.h>
#include <linux/init.h>
#include <linux/io.h>
-#include <linux/of.h>
-#include <linux/of_platform.h>
#include <linux/platform_data/dma-mv_xor.h>
#include <linux/platform_data/usb-ehci-orion.h>
#include <linux/platform_device.h>
--
2.40.1



2023-08-12 15:56:26

by Gregory CLEMENT

[permalink] [raw]
Subject: Re: [PATCH] ARM: dove: Drop unused includes

Rob Herring <[email protected]> writes:

> Several includes are not needed, so drop them.
>
> Signed-off-by: Rob Herring <[email protected]>

Applied on mvebu/arm

Thanks,

Gregory
> ---
> arch/arm/mach-dove/common.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/arch/arm/mach-dove/common.c b/arch/arm/mach-dove/common.c
> index cd4ae7e4768d..3aea90bbb41a 100644
> --- a/arch/arm/mach-dove/common.c
> +++ b/arch/arm/mach-dove/common.c
> @@ -9,8 +9,6 @@
> #include <linux/dma-mapping.h>
> #include <linux/init.h>
> #include <linux/io.h>
> -#include <linux/of.h>
> -#include <linux/of_platform.h>
> #include <linux/platform_data/dma-mv_xor.h>
> #include <linux/platform_data/usb-ehci-orion.h>
> #include <linux/platform_device.h>
> --
> 2.40.1
>

--
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com

2023-08-16 21:41:24

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH] ARM: dove: Drop unused includes

On Sat, Aug 12, 2023 at 10:01 AM Gregory CLEMENT
<[email protected]> wrote:
>
> Rob Herring <[email protected]> writes:
>
> > Several includes are not needed, so drop them.
> >
> > Signed-off-by: Rob Herring <[email protected]>
>
> Applied on mvebu/arm

Arnd already applied this directly.

Rob