Re: [PATCH v9 1/9] clk: mmp: Switch to use struct u32_fract instead of custom one

Stephen Boyd
2024-04-11T07:56:57Z

Quoting Duje Mihanović (2024-04-02 13:55:37)
> From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
>
> The struct mmp_clk_factor_tbl repeats the generic struct u32_fract.
> Kill the custom one and use the generic one instead.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> Tested-by: Duje Mihanović <duje.mihanovic@skole.hr>
> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
> Signed-off-by: Duje Mihanović <duje.mihanovic@skole.hr>
> ---

Reviewed-by: Stephen Boyd <sboyd@kernel.org>

>
> diff --git a/drivers/clk/mmp/clk.h b/drivers/clk/mmp/clk.h
> index 55ac05379781..c83cec169ddc 100644
> --- a/drivers/clk/mmp/clk.h
> +++ b/drivers/clk/mmp/clk.h
> @@ -3,6 +3,7 @@
> #define __MACH_MMP_CLK_H
>
> #include <linux/clk-provider.h>
> +#include <linux/math.h>
> #include <linux/pm_domain.h>
> #include <linux/clkdev.h>
>

This clkdev include should be dropped in another patch.