]> git.baikalelectronics.ru Git - kernel.git/commit
clk: at91: optimize pmc data allocation
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Mon, 4 May 2020 22:37:56 +0000 (00:37 +0200)
committerStephen Boyd <sboyd@kernel.org>
Wed, 27 May 2020 03:22:34 +0000 (20:22 -0700)
commit9cffd2aba1cdb462e4f2d563c5ee9bf12492e19c
treee7cbc9cb371f6c9141a07ae45e0f5172bb5a1a25
parent8d26b1fbf8e7f9c35b248664a18982d75dbc9a0e
clk: at91: optimize pmc data allocation

Alloc whole data structure in one block. This makes the code shorter,
more efficient and easier to extend in following patch.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Link: https://lkml.kernel.org/r/fc6f6d67b8cee0beace4a9d9cca7431e5efa769d.1588630999.git.mirq-linux@rere.qmqm.pl
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
12 files changed:
drivers/clk/at91/at91rm9200.c
drivers/clk/at91/at91sam9260.c
drivers/clk/at91/at91sam9g45.c
drivers/clk/at91/at91sam9n12.c
drivers/clk/at91/at91sam9rl.c
drivers/clk/at91/at91sam9x5.c
drivers/clk/at91/pmc.c
drivers/clk/at91/pmc.h
drivers/clk/at91/sam9x60.c
drivers/clk/at91/sama5d2.c
drivers/clk/at91/sama5d3.c
drivers/clk/at91/sama5d4.c