aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/clk/at91/at91rm9200.c
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@microchip.com>2023-06-15 12:32:20 +0300
committerClaudiu Beznea <claudiu.beznea@microchip.com>2023-06-21 10:42:46 +0300
commitc2f2ca0be8a62ce61a6878cd3dddd8fc6d622999 (patch)
treeffe99485f6f34ae8e428f82ef9d6c6c0b0755ad8 /drivers/clk/at91/at91rm9200.c
parentclk: at91: clk-master: add support for parent_hw (diff)
downloadwireguard-linux-c2f2ca0be8a62ce61a6878cd3dddd8fc6d622999.tar.xz
wireguard-linux-c2f2ca0be8a62ce61a6878cd3dddd8fc6d622999.zip
clk: at91: clk-peripheral: add support for parent_hw
Add support for parent_hw in peripheral clock drivers. With this parent-child relation is described with pointers rather than strings making registration a bit faster. All the SoC based drivers that rely on clk-peripheral were adapted to the new API change. The switch itself for SoCs will be done in subsequent patches. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Reviewed-by: Maxime Ripard <mripard@kernel.org> Link: https://lore.kernel.org/r/20230615093227.576102-5-claudiu.beznea@microchip.com
Diffstat (limited to 'drivers/clk/at91/at91rm9200.c')
-rw-r--r--drivers/clk/at91/at91rm9200.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/at91/at91rm9200.c b/drivers/clk/at91/at91rm9200.c
index 259e314ef40f..9eaf54418b7e 100644
--- a/drivers/clk/at91/at91rm9200.c
+++ b/drivers/clk/at91/at91rm9200.c
@@ -193,7 +193,7 @@ static void __init at91rm9200_pmc_setup(struct device_node *np)
for (i = 0; i < ARRAY_SIZE(at91rm9200_periphck); i++) {
hw = at91_clk_register_peripheral(regmap,
at91rm9200_periphck[i].n,
- "masterck_div",
+ "masterck_div", NULL,
at91rm9200_periphck[i].id);
if (IS_ERR(hw))
goto err_free;