clk: s2mps11: remove redundant code
authorAndi Shyti <andi.shyti@samsung.com>
Wed, 20 Jan 2016 10:14:24 +0000 (19:14 +0900)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 29 Jan 2016 20:47:22 +0000 (12:47 -0800)
commitdedbb2724dca5de4073c261c52fa76bf348f6a0d
treeb45765e2c17539799ef078a9febe1d2c6e666626
parent36da4def1ea7a5f698d3096d10316f911e819621
clk: s2mps11: remove redundant code

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@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk-s2mps11.c