m68k: coldfire: use clkdev_lookup on most coldfire
authorArnd Bergmann <arnd@arndb.de>
Mon, 31 May 2021 09:12:55 +0000 (11:12 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 8 Jun 2021 15:00:09 +0000 (17:00 +0200)
commit63aadb77669a6856b26d73da85b4f788731524a3
treeb34676b811907603d564f039a2ffc9070f65a710
parent35f752be4f412a1a58f4c15fa9282c53b956e067
m68k: coldfire: use clkdev_lookup on most coldfire

Coldfire is now the only target that implements the clk_get()/clk_put()
helpers itself rather than using the common implementation.

Most coldfire variants only have two distinct clocks and use the clk
code purely for lookup. Change those over to use clkdev_lookup instead
but leave the custom clk interface for those two clocks.

Also leave the four SoCs that have gated clocks.

Acked-by: Greg Ungerer <gerg@linux-m68k.org>
Tested-by: Greg Ungerer <gerg@linux-m68k.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
12 files changed:
arch/m68k/Kconfig.cpu
arch/m68k/coldfire/clk.c
arch/m68k/coldfire/m5206.c
arch/m68k/coldfire/m523x.c
arch/m68k/coldfire/m5249.c
arch/m68k/coldfire/m525x.c
arch/m68k/coldfire/m5272.c
arch/m68k/coldfire/m527x.c
arch/m68k/coldfire/m528x.c
arch/m68k/coldfire/m5307.c
arch/m68k/coldfire/m5407.c
arch/m68k/coldfire/m54xx.c