[PATCH] ARM: dove: Drop unused includes

Rob Herring posted 1 patch 2 years, 6 months ago
arch/arm/mach-dove/common.c | 2 --
1 file changed, 2 deletions(-)
[PATCH] ARM: dove: Drop unused includes
Posted by Rob Herring 2 years, 6 months ago
Several includes are not needed, so drop them.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 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
Re: [PATCH] ARM: dove: Drop unused includes
Posted by Gregory CLEMENT 2 years, 5 months ago
Rob Herring <robh@kernel.org> writes:

> Several includes are not needed, so drop them.
>
> Signed-off-by: Rob Herring <robh@kernel.org>

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
Re: [PATCH] ARM: dove: Drop unused includes
Posted by Rob Herring 2 years, 5 months ago
On Sat, Aug 12, 2023 at 10:01 AM Gregory CLEMENT
<gregory.clement@bootlin.com> wrote:
>
> Rob Herring <robh@kernel.org> writes:
>
> > Several includes are not needed, so drop them.
> >
> > Signed-off-by: Rob Herring <robh@kernel.org>
>
> Applied on mvebu/arm

Arnd already applied this directly.

Rob