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

From: Kevin Hilman
Date: Tue Aug 06 2024 - 12:02:44 EST


"Rob Herring (Arm)" <robh@xxxxxxxxxx> 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@xxxxxxxxxx>

Acked-by: Kevin Hilman <khilman@xxxxxxxxxxxx>

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