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)
commit007f84ede6e3ea893b1a68724e8796c45fa98d85
treea472817abddabc596095b74386d40970c728867e
parent63aadb77669a6856b26d73da85b4f788731524a3
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