clk: versatile: clk-icst: Ensure clock names are unique
authorRob Herring <robh@kernel.org>
Tue, 9 Nov 2021 16:46:50 +0000 (10:46 -0600)
committerRob Herring <robh@kernel.org>
Fri, 12 Nov 2021 04:27:16 +0000 (22:27 -0600)
commit1b2189f3aa50ba63a55ca2726d2be89b937e372d
tree6a2a05668b23d6e25f24d7794236f5b5314318e3
parent68d16195b61c503551631ee059c3f65452c49b30
clk: versatile: clk-icst: Ensure clock names are unique

Commit 2d3de197a818 ("ARM: dts: arm: Update ICST clock nodes 'reg' and
node names") moved to using generic node names. That results in trying
to register multiple clocks with the same name. Fix this by including
the unit-address in the clock name.

Fixes: 2d3de197a818 ("ARM: dts: arm: Update ICST clock nodes 'reg' and node names")
Cc: stable@vger.kernel.org
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Stephen Boyd <sboyd@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-clk@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20211109164650.2233507-3-robh@kernel.org
drivers/clk/versatile/clk-icst.c