[PATCH] clk: remove unnecessary substitution

Masahiro Yamada yamada.m at jp.panasonic.com
Thu Dec 4 19:29:39 PST 2014


Hi, Mike Turquette

I posted this trivial fix about 10 months ago.

Is it applicable?



On Tue, 28 Jan 2014 15:09:47 +0900
Masahiro Yamada <yamada.m at jp.panasonic.com> wrote:

> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> ---
>  drivers/clk/clk.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
> index 2b38dc9..d97b313 100644
> --- a/drivers/clk/clk.c
> +++ b/drivers/clk/clk.c
> @@ -1637,7 +1637,7 @@ static struct clk *__clk_init_parent(struct clk *clk)
>  
>  	if (clk->num_parents == 1) {
>  		if (IS_ERR_OR_NULL(clk->parent))
> -			ret = clk->parent = __clk_lookup(clk->parent_names[0]);
> +			clk->parent = __clk_lookup(clk->parent_names[0]);
>  		ret = clk->parent;
>  		goto out;
>  	}
> -- 
> 1.8.3.2
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel





More information about the linux-arm-kernel mailing list