]> git.baikalelectronics.ru Git - kernel.git/commit
m68k: coldfire: remove private clk_get/clk_put
authorArnd Bergmann <arnd@arndb.de>
Mon, 31 May 2021 09:43:22 +0000 (11:43 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 8 Jun 2021 15:00:09 +0000 (17:00 +0200)
commitcbd59085914419ecc6ade13f4c7b834f2c42acab
treea472817abddabc596095b74386d40970c728867e
parent34f23eebbb95e6c54e27a7876d487041ac4db793
m68k: coldfire: remove private clk_get/clk_put

Only three SoCs remain that use the custom clk_get/clk_put.
Move these over to clkdev_lookup tables as well. As before,
treat the "sys.0" and "pll.0" clocks as system-wide clocks,
and all the other ones as device specific.

The "name" field in 'struct clock' is now unused, so rename
that as well as a cleanup and to reduce the object code size.
The DEFINE_CLK macro could be changed the same way, but it
is less churn to just leave those in place, that can be
done as a follow-up later if someone is interested.

Acked-by: Greg Ungerer <gerg@linux-m68k.org>
Tested-by: Greg Ungerer <gerg@linux-m68k.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/m68k/Kconfig.cpu
arch/m68k/coldfire/clk.c
arch/m68k/coldfire/m520x.c
arch/m68k/coldfire/m53xx.c
arch/m68k/coldfire/m5441x.c
arch/m68k/include/asm/mcfclk.h