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

From: Stephen Boyd
Date: Thu Apr 11 2024 - 03:57:08 EST


Quoting Duje Mihanović (2024-04-02 13:55:37)
> From: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxxx>
> Tested-by: Duje Mihanović <duje.mihanovic@xxxxxxxx>
> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> Signed-off-by: Duje Mihanović <duje.mihanovic@xxxxxxxx>
> ---

Reviewed-by: Stephen Boyd <sboyd@xxxxxxxxxx>

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