Re: [PATCH] mfd: intel_quark_i2c_gpio: Remove CLK_IS_ROOT
From: Andy Shevchenko
Date: Wed Apr 20 2016 - 07:25:22 EST
On Tue, 2016-04-19 at 18:19 -0700, 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>
> Signed-off-by: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>
Acked-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>>Â
> ---
> Âdrivers/mfd/intel_quark_i2c_gpio.c | 2 +-
> Â1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mfd/intel_quark_i2c_gpio.c
> b/drivers/mfd/intel_quark_i2c_gpio.c
> index 24c2d291b1dc..ce17ae8a81c9 100644
> --- a/drivers/mfd/intel_quark_i2c_gpio.c
> +++ b/drivers/mfd/intel_quark_i2c_gpio.c
> @@ -130,7 +130,7 @@ static int intel_quark_register_i2c_clk(struct
> device *dev)
> Â
> Â i2c_clk = clk_register_fixed_rate(dev,
> Â ÂÂINTEL_QUARK_I2C_CONTROLLER_
> CLK, NULL,
> - ÂÂCLK_IS_ROOT,
> INTEL_QUARK_I2C_CLK_HZ);
> + ÂÂ0, INTEL_QUARK_I2C_CLK_HZ);
> Â if (IS_ERR(i2c_clk))
> Â return PTR_ERR(i2c_clk);
> Â
--
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Intel Finland Oy