Message ID | 20240806-dt-api-cleanups-v1-2-459e2c840e7d@kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | cpufreq: Enable COMPILE_TEST on Arm drivers | expand |
"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
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 --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
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(-)