clk: fixed-rate: fix clk_hw_register_fixed_rate_with_accuracy_parent_hw
[ Upstream commit ee0cf5e07f44a10fce8f1bfa9db226c0b5ecf880 ]
Add missing comma and remove extraneous NULL argument. The macro is
currently used by no one which explains why the typo slipped by.
Fixes: 2d34f09e79
("clk: fixed-rate: Add support for specifying parents via DT/pointers")
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
Link: https://lore.kernel.org/r/20231218-mbly-clk-v1-1-44ce54108f06@bootlin.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
764b78b927
commit
bed5ec2a59
@@ -434,8 +434,8 @@ struct clk *clk_register_fixed_rate(struct device *dev, const char *name,
|
|||||||
*/
|
*/
|
||||||
#define clk_hw_register_fixed_rate_with_accuracy_parent_hw(dev, name, \
|
#define clk_hw_register_fixed_rate_with_accuracy_parent_hw(dev, name, \
|
||||||
parent_hw, flags, fixed_rate, fixed_accuracy) \
|
parent_hw, flags, fixed_rate, fixed_accuracy) \
|
||||||
__clk_hw_register_fixed_rate((dev), NULL, (name), NULL, (parent_hw) \
|
__clk_hw_register_fixed_rate((dev), NULL, (name), NULL, (parent_hw), \
|
||||||
NULL, NULL, (flags), (fixed_rate), \
|
NULL, (flags), (fixed_rate), \
|
||||||
(fixed_accuracy), 0, false)
|
(fixed_accuracy), 0, false)
|
||||||
/**
|
/**
|
||||||
* clk_hw_register_fixed_rate_with_accuracy_parent_data - register fixed-rate
|
* clk_hw_register_fixed_rate_with_accuracy_parent_data - register fixed-rate
|
||||||
|
Reference in New Issue
Block a user