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

Rob Herring (Arm) posted 6 patches 1 year, 4 months ago
[PATCH 2/6] cpufreq: omap: Drop asm includes
Posted by Rob Herring (Arm) 1 year, 4 months ago
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(-)

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
Re: [PATCH 2/6] cpufreq: omap: Drop asm includes
Posted by Kevin Hilman 1 year, 4 months ago
"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
Re: [PATCH 2/6] cpufreq: omap: Drop asm includes
Posted by Dhruva Gole 1 year, 4 months ago
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
> 

-- 
Best regards,
Dhruva