Re: [PATCH] mfd: intel-lpss: Remove CLK_IS_ROOT
From: Lee Jones
Date: Mon Apr 25 2016 - 10:10:26 EST
On Tue, 19 Apr 2016, Stephen Boyd wrote:
> This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate
> CLK_IS_ROOT", 2016-02-02) so remove it.
>
> Cc: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> Cc: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
> Signed-off-by: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>
> ---
> drivers/mfd/intel-lpss.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied, thanks.
> diff --git a/drivers/mfd/intel-lpss.c b/drivers/mfd/intel-lpss.c
> index 6352aaba96a4..9b738bb912f3 100644
> --- a/drivers/mfd/intel-lpss.c
> +++ b/drivers/mfd/intel-lpss.c
> @@ -336,8 +336,8 @@ static int intel_lpss_register_clock(struct intel_lpss *lpss)
> return 0;
>
> /* Root clock */
> - clk = clk_register_fixed_rate(NULL, dev_name(lpss->dev), NULL,
> - CLK_IS_ROOT, lpss->info->clk_rate);
> + clk = clk_register_fixed_rate(NULL, dev_name(lpss->dev), NULL, 0,
> + lpss->info->clk_rate);
> if (IS_ERR(clk))
> return PTR_ERR(clk);
>
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog