2023-07-17 23:03:53

by Rob Herring (Arm)

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

of_platform.h is not needed, so drop it.

Signed-off-by: Rob Herring <[email protected]>
---
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"
--
2.40.1



2023-07-20 12:30:51

by Wei Xu

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

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 <[email protected]>

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"
>