Skip to content

Commit 80c439c

Browse files
Frank Oltmannswens
authored andcommitted
clk: sunxi-ng: nkm: Use correct parameter name for parent HW
ccu_nkm_round_rate() takes a clk_hw as parameter "hw". Since "hw" is the nkm clock's parent clk_hw, not the clk_hw of the nkm clock itself, change the parameter name to "parent_hw" to make it more clear what we're dealing with. Acked-by: Maxime Ripard <[email protected]> Reviewed-by: Jernej Skrabec <[email protected]> Signed-off-by: Frank Oltmanns <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Chen-Yu Tsai <[email protected]>
1 parent 075d9ca commit 80c439c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/sunxi-ng/ccu_nkm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ static unsigned long ccu_nkm_recalc_rate(struct clk_hw *hw,
106106
}
107107

108108
static unsigned long ccu_nkm_round_rate(struct ccu_mux_internal *mux,
109-
struct clk_hw *hw,
109+
struct clk_hw *parent_hw,
110110
unsigned long *parent_rate,
111111
unsigned long rate,
112112
void *data)

0 commit comments

Comments
 (0)