]> git.baikalelectronics.ru Git - kernel.git/commit
clk: Move clk_provider_list to scope of function using it
authorStephen Boyd <sboyd@codeaurora.org>
Mon, 6 Jul 2015 23:50:00 +0000 (16:50 -0700)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 8 Jul 2015 00:20:05 +0000 (17:20 -0700)
commita2495ffd0687cfb592c11483e2d7bf4621989969
tree836d0044b7252d4ec38c05d96ffdf2dd2825c733
parent0fda73cd810f5ef47a01d0896eab2963b9d1647e
clk: Move clk_provider_list to scope of function using it

The list isn't used after of_clk_init() is called, so we don't
need to keep an empty list around after init. Put the list on the
stack.

Cc: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk.c