ARM: dove: Drop unused includes

Message ID 20230717225645.3214989-1-robh@kernel.org
State New
Headers
Series ARM: dove: Drop unused includes |

Commit Message

Rob Herring July 17, 2023, 10:56 p.m. UTC
  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(-)
  

Comments

Gregory CLEMENT Aug. 12, 2023, 3:01 p.m. UTC | #1
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
>
  
Rob Herring Aug. 16, 2023, 4:56 p.m. UTC | #2
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
  

Patch

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>