clk: sunxi: fix build warning
authorCorentin LABBE <clabbe.montjoie@gmail.com>
Tue, 24 Oct 2017 17:06:16 +0000 (19:06 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 2 Nov 2017 05:44:07 +0000 (22:44 -0700)
commit02e0114ae1eb776b22f0744762fb0137208c4850
tree5782e71fa4f3675498338633ec73112ea263ecce
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e
clk: sunxi: fix build warning

This patch fix the following build warning:
drivers/clk/sunxi/clk-factors.c:279:14: warning: variable 'name' set but not used [-Wunused-but-set-variable]

Fixes: 4cbeaebb8af1 ("clk: sunxi: factors: Add unregister function")

Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/sunxi/clk-factors.c