[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <56A0265A.2000307@samsung.com>
Date: Thu, 21 Jan 2016 09:29:14 +0900
From: Krzysztof Kozlowski <k.kozlowski@...sung.com>
To: Andi Shyti <andi.shyti@...sung.com>,
linux-samsung-soc@...r.kernel.org
Cc: Sangbeom Kim <sbkim73@...sung.com>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...eaurora.org>,
linux-kernel@...r.kernel.org, linux-clk@...r.kernel.org,
Andi Shyti <andi@...zian.org>,
Yadwinder Singh Brar <yadi.brar01@...il.com>,
Jaehoon Chung <jh80.chung@...sung.com>
Subject: Re: [PATCH v3 4/4] clk: s2mps11: remove redundant code
On 20.01.2016 19:14, Andi Shyti wrote:
> The definition of s2mps11_name is meant to resolve the name of a
> given clock. Remove it because the clocks have the same name we
> can get it directly from the s2mps11_clks_init structure.
>
> While in the probe function the s2mps11_clks is used only to
> iterate through the s2mps11_clks. The naming itself brings
> confusion and the readability does not improve much.
>
> Signed-off-by: Andi Shyti <andi.shyti@...sung.com>
> ---
> drivers/clk/clk-s2mps11.c | 36 ++++++++++++++++--------------------
> 1 file changed, 16 insertions(+), 20 deletions(-)
>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@...sung.com>
Best regards,
Krzysztof
Powered by blists - more mailing lists