ARM: hisi: Drop unused includes

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

Commit Message

Rob Herring July 17, 2023, 10:56 p.m. UTC
  of_platform.h is not needed, so drop it.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 arch/arm/mach-hisi/hotplug.c | 1 -
 1 file changed, 1 deletion(-)
  

Comments

Wei Xu July 20, 2023, 11:22 a.m. UTC | #1
Hi Rob,

On 2023/7/18 6:56, Rob Herring wrote:
> of_platform.h is not needed, so drop it.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>

Applied to the HiSilicon arm32 SoC tree.
Thanks!

Best Regards,
Wei

> ---
>  arch/arm/mach-hisi/hotplug.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/arm/mach-hisi/hotplug.c b/arch/arm/mach-hisi/hotplug.c
> index c517941416f1..f5655ad1c351 100644
> --- a/arch/arm/mach-hisi/hotplug.c
> +++ b/arch/arm/mach-hisi/hotplug.c
> @@ -8,7 +8,6 @@
>  #include <linux/delay.h>
>  #include <linux/io.h>
>  #include <linux/of_address.h>
> -#include <linux/of_platform.h>
>  #include <asm/cacheflush.h>
>  #include <asm/smp_plat.h>
>  #include "core.h"
>
  

Patch

diff --git a/arch/arm/mach-hisi/hotplug.c b/arch/arm/mach-hisi/hotplug.c
index c517941416f1..f5655ad1c351 100644
--- a/arch/arm/mach-hisi/hotplug.c
+++ b/arch/arm/mach-hisi/hotplug.c
@@ -8,7 +8,6 @@ 
 #include <linux/delay.h>
 #include <linux/io.h>
 #include <linux/of_address.h>
-#include <linux/of_platform.h>
 #include <asm/cacheflush.h>
 #include <asm/smp_plat.h>
 #include "core.h"