diff options
author | Claudiu Beznea <claudiu.beznea@microchip.com> | 2023-06-15 12:32:22 +0300 |
---|---|---|
committer | Claudiu Beznea <claudiu.beznea@microchip.com> | 2023-06-21 10:42:48 +0300 |
commit | 1a537f625773fe3e5f124a933b2dffdfc947f9e0 (patch) | |
tree | 0453ea7ebe994b30e1a6ac3db80c006248be6299 /drivers/clk/at91/at91sam9rl.c | |
parent | 1a2669df3c1fcef1e212fc9fe39b37b0b67a97f0 (diff) | |
download | lwn-1a537f625773fe3e5f124a933b2dffdfc947f9e0.tar.gz lwn-1a537f625773fe3e5f124a933b2dffdfc947f9e0.zip |
clk: at91: clk-system: add support for parent_hw
Add support for parent_hw in system 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-system 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-7-claudiu.beznea@microchip.com
Diffstat (limited to 'drivers/clk/at91/at91sam9rl.c')
-rw-r--r-- | drivers/clk/at91/at91sam9rl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/at91/at91sam9rl.c b/drivers/clk/at91/at91sam9rl.c index 858987757b87..051b2eeb9276 100644 --- a/drivers/clk/at91/at91sam9rl.c +++ b/drivers/clk/at91/at91sam9rl.c @@ -159,7 +159,7 @@ static void __init at91sam9rl_pmc_setup(struct device_node *np) for (i = 0; i < ARRAY_SIZE(at91sam9rl_systemck); i++) { hw = at91_clk_register_system(regmap, at91sam9rl_systemck[i].n, - at91sam9rl_systemck[i].p, + at91sam9rl_systemck[i].p, NULL, at91sam9rl_systemck[i].id, 0); if (IS_ERR(hw)) goto err_free; |