clk: microchip: mpfs: convert periph_clk to clk_gate
authorConor Dooley <conor.dooley@microchip.com>
Fri, 9 Sep 2022 12:31:22 +0000 (13:31 +0100)
committerClaudiu Beznea <claudiu.beznea@microchip.com>
Wed, 14 Sep 2022 07:57:07 +0000 (10:57 +0300)
commitd815569783e6546f55159a1c9dd9685a11888fad
tree23c897a98bf19476627287f8e5c9463c3f46a348
parent4da2404bb003f248b161b00b308929f0509fb420
clk: microchip: mpfs: convert periph_clk to clk_gate

With the reset code moved to the recently added reset controller, there
is no need for custom ops any longer. Remove the custom ops and the
custom struct by converting to a clk_gate.

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-14-conor.dooley@microchip.com
drivers/clk/microchip/clk-mpfs.c