Commit 25bf466b authored by YueHaibing's avatar YueHaibing Committed by Stephen Boyd
Browse files

clk: stm32mp1: drop pointless static qualifier in stm32_register_hw_clk()



There is no need to have the 'struct clk_hw **hws' variable static
since new value always be assigned before use it.

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 65102238
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2015,7 +2015,7 @@ static int stm32_register_hw_clk(struct device *dev,
				 void __iomem *base, spinlock_t *lock,
				 const struct clock_config *cfg)
{
	static struct clk_hw **hws;
	struct clk_hw **hws;
	struct clk_hw *hw = ERR_PTR(-ENOENT);

	hws = clk_data->hws;