Re: [PATCH] clk: remove unnecessary substitution

From: Masahiro Yamada
Date: Thu Dec 04 2014 - 22:30:29 EST


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@xxxxxxxxxxxxxxxx> wrote:

> Signed-off-by: Masahiro Yamada <yamada.m@xxxxxxxxxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/