clk: microchip: mpfs: convert cfg_clk to clk_divider
authorConor Dooley <conor.dooley@microchip.com>
Fri, 9 Sep 2022 12:31:21 +0000 (13:31 +0100)
committerClaudiu Beznea <claudiu.beznea@microchip.com>
Wed, 14 Sep 2022 07:57:06 +0000 (10:57 +0300)
commit4da2404bb003f248b161b00b308929f0509fb420
tree695570d833563d74b64157365f16e48b815bdc1b
parente7df7ba08c647d1d3aba1d33d12db64a25e0a5b4
clk: microchip: mpfs: convert cfg_clk to clk_divider

The cfg_clk struct is now just a redefinition of the clk_divider struct
with custom implentations of the ops, that implement an extra level of
redirection. Remove the custom struct and replace it with clk_divider.

Reviewed-by: Daire McNamara <daire.mcnamara@microchip.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20220909123123.2699583-13-conor.dooley@microchip.com
drivers/clk/microchip/clk-mpfs.c