* [PATCH] clk: fix typo in clk_hw_register_fixed_rate_parent_data() macro
@ 2023-06-15 10:19 Claudiu Beznea
2023-06-20 19:27 ` Stephen Boyd
0 siblings, 1 reply; 2+ messages in thread
From: Claudiu Beznea @ 2023-06-15 10:19 UTC (permalink / raw)
To: mturquette, sboyd; +Cc: linux-clk, linux-kernel, Claudiu Beznea
clk_hw_register_fixed_rate_parent_data() 3rd parameter is parent_data
not parent_hw. Inner function (__clk_hw_register_fixed_rate()) is called
with parent_data parameter as valid. To have this parameter taken into
account update the name of the 3rd parameter of
clk_hw_register_fixed_rate_parent_data() macro to parent_data.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
include/linux/clk-provider.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index 842e72a5348f..0b18a17dca3e 100644
--- a/include/linux/clk-provider.h
+++ b/include/linux/clk-provider.h
@@ -415,7 +415,7 @@ struct clk *clk_register_fixed_rate(struct device *dev, const char *name,
* @flags: framework-specific flags
* @fixed_rate: non-adjustable clock rate
*/
-#define clk_hw_register_fixed_rate_parent_data(dev, name, parent_hw, flags, \
+#define clk_hw_register_fixed_rate_parent_data(dev, name, parent_data, flags, \
fixed_rate) \
__clk_hw_register_fixed_rate((dev), NULL, (name), NULL, NULL, \
(parent_data), (flags), (fixed_rate), 0, \
--
2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] clk: fix typo in clk_hw_register_fixed_rate_parent_data() macro
2023-06-15 10:19 [PATCH] clk: fix typo in clk_hw_register_fixed_rate_parent_data() macro Claudiu Beznea
@ 2023-06-20 19:27 ` Stephen Boyd
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2023-06-20 19:27 UTC (permalink / raw)
To: Claudiu Beznea, mturquette; +Cc: linux-clk, linux-kernel, Claudiu Beznea
Quoting Claudiu Beznea (2023-06-15 03:19:31)
> clk_hw_register_fixed_rate_parent_data() 3rd parameter is parent_data
> not parent_hw. Inner function (__clk_hw_register_fixed_rate()) is called
> with parent_data parameter as valid. To have this parameter taken into
> account update the name of the 3rd parameter of
> clk_hw_register_fixed_rate_parent_data() macro to parent_data.
>
> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-20 19:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-15 10:19 [PATCH] clk: fix typo in clk_hw_register_fixed_rate_parent_data() macro Claudiu Beznea
2023-06-20 19:27 ` Stephen Boyd
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome