Re: [PATCH 09/41] clk: mxs: Remove CLK_IS_ROOT

From: Shawn Guo
Date: Tue Mar 01 2016 - 21:42:48 EST


On Tue, Mar 01, 2016 at 10:59:54AM -0800, Stephen Boyd wrote:
> This flag is a no-op now. Remove usage of the flag.
>
> Cc: Shawn Guo <shawnguo@xxxxxxxxxx>
> Signed-off-by: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>

Acked-by: Shawn Guo <shawnguo@xxxxxxxxxx>

> ---
> drivers/clk/mxs/clk.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/clk/mxs/clk.h b/drivers/clk/mxs/clk.h
> index a4590956d2a2..5a264a486ad9 100644
> --- a/drivers/clk/mxs/clk.h
> +++ b/drivers/clk/mxs/clk.h
> @@ -38,7 +38,7 @@ struct clk *mxs_clk_frac(const char *name, const char *parent_name,
>
> static inline struct clk *mxs_clk_fixed(const char *name, int rate)
> {
> - return clk_register_fixed_rate(NULL, name, NULL, CLK_IS_ROOT, rate);
> + return clk_register_fixed_rate(NULL, name, NULL, 0, rate);
> }
>
> static inline struct clk *mxs_clk_gate(const char *name,
> --
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project
>
>