clk: microchip: mpfs: move id & offset out of clock structs
authorConor Dooley <conor.dooley@microchip.com>
Fri, 9 Sep 2022 12:31:18 +0000 (13:31 +0100)
committerClaudiu Beznea <claudiu.beznea@microchip.com>
Wed, 14 Sep 2022 07:57:06 +0000 (10:57 +0300)
commit52fe6b5293073be8a9c9c0b45424b596d11e4c6e
tree1425009a6167cc1df7ba3b72b11d2a75e27cfda9
parent14016e4aafc5f157c10fb1a386fa3b3bd9c30e9a
clk: microchip: mpfs: move id & offset out of clock structs

The id and offset are the only thing differentiating the clock structs
from "regular" clock structures. On the pretext of converting to more
normal structures, move the id and offset out of the clock structs and
into the hw structs instead.

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