diff mbox series

[2/6] cpufreq: omap: Drop asm includes

Message ID 20240806-dt-api-cleanups-v1-2-459e2c840e7d@kernel.org
State Accepted
Commit b81f97031a0ea2823cf37bb37eac51dbb8350e02
Headers show
Series cpufreq: Enable COMPILE_TEST on Arm drivers | expand

Commit Message

Rob Herring (Arm) Aug. 6, 2024, 1:58 p.m. UTC
The omap driver doesn't actually need asm/smp_plat.h, so drop it.
asm/cpu.h is not needed either as linux/cpu.h is already included.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
 drivers/cpufreq/omap-cpufreq.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Kevin Hilman Aug. 6, 2024, 4 p.m. UTC | #1
"Rob Herring (Arm)" <robh@kernel.org> writes:

> The omap driver doesn't actually need asm/smp_plat.h, so drop it.
> asm/cpu.h is not needed either as linux/cpu.h is already included.
>
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

Acked-by: Kevin Hilman <khilman@baylibre.com>

> ---
>  drivers/cpufreq/omap-cpufreq.c | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/drivers/cpufreq/omap-cpufreq.c b/drivers/cpufreq/omap-cpufreq.c
> index 3458d5cc9b7f..de8be0a8932d 100644
> --- a/drivers/cpufreq/omap-cpufreq.c
> +++ b/drivers/cpufreq/omap-cpufreq.c
> @@ -28,9 +28,6 @@
>  #include <linux/platform_device.h>
>  #include <linux/regulator/consumer.h>
>  
> -#include <asm/smp_plat.h>
> -#include <asm/cpu.h>
> -
>  /* OPP tolerance in percentage */
>  #define	OPP_TOLERANCE	4
>  
>
> -- 
> 2.43.0
Dhruva Gole Aug. 8, 2024, 10:46 a.m. UTC | #2
On Aug 06, 2024 at 09:00:12 -0700, Kevin Hilman wrote:
> "Rob Herring (Arm)" <robh@kernel.org> writes:
> 
> > The omap driver doesn't actually need asm/smp_plat.h, so drop it.
> > asm/cpu.h is not needed either as linux/cpu.h is already included.
> >
> > Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> 
> Acked-by: Kevin Hilman <khilman@baylibre.com>

Reviewed-by: Dhruva Gole <d-gole@ti.com>

> 
> > ---
> >  drivers/cpufreq/omap-cpufreq.c | 3 ---
> >  1 file changed, 3 deletions(-)
> >
> > diff --git a/drivers/cpufreq/omap-cpufreq.c b/drivers/cpufreq/omap-cpufreq.c
> > index 3458d5cc9b7f..de8be0a8932d 100644
> > --- a/drivers/cpufreq/omap-cpufreq.c
> > +++ b/drivers/cpufreq/omap-cpufreq.c
> > @@ -28,9 +28,6 @@
> >  #include <linux/platform_device.h>
> >  #include <linux/regulator/consumer.h>
> >  
> > -#include <asm/smp_plat.h>
> > -#include <asm/cpu.h>
> > -
> >  /* OPP tolerance in percentage */
> >  #define	OPP_TOLERANCE	4
> >  
> >
> > -- 
> > 2.43.0
>
diff mbox series

Patch

diff --git a/drivers/cpufreq/omap-cpufreq.c b/drivers/cpufreq/omap-cpufreq.c
index 3458d5cc9b7f..de8be0a8932d 100644
--- a/drivers/cpufreq/omap-cpufreq.c
+++ b/drivers/cpufreq/omap-cpufreq.c
@@ -28,9 +28,6 @@ 
 #include <linux/platform_device.h>
 #include <linux/regulator/consumer.h>
 
-#include <asm/smp_plat.h>
-#include <asm/cpu.h>
-
 /* OPP tolerance in percentage */
 #define	OPP_TOLERANCE	4