Skip to content

Commit ee0cf5e

Browse files
tlebbebarino
authored andcommitted
clk: fixed-rate: fix clk_hw_register_fixed_rate_with_accuracy_parent_hw
Add missing comma and remove extraneous NULL argument. The macro is currently used by no one which explains why the typo slipped by. Fixes: 2d34f09 ("clk: fixed-rate: Add support for specifying parents via DT/pointers") Signed-off-by: Théo Lebrun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 5607068 commit ee0cf5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/linux/clk-provider.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,8 +448,8 @@ struct clk *clk_register_fixed_rate(struct device *dev, const char *name,
448448
*/
449449
#define clk_hw_register_fixed_rate_with_accuracy_parent_hw(dev, name, \
450450
parent_hw, flags, fixed_rate, fixed_accuracy) \
451-
__clk_hw_register_fixed_rate((dev), NULL, (name), NULL, (parent_hw) \
452-
NULL, NULL, (flags), (fixed_rate), \
451+
__clk_hw_register_fixed_rate((dev), NULL, (name), NULL, (parent_hw), \
452+
NULL, (flags), (fixed_rate), \
453453
(fixed_accuracy), 0, false)
454454
/**
455455
* clk_hw_register_fixed_rate_with_accuracy_parent_data - register fixed-rate

0 commit comments

Comments
 (0)