mirror of
https://github.com/torvalds/linux.git
synced 2024-12-03 01:21:28 +00:00
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: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
parent
651022382c
commit
25bf466bd2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user