Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: 2d34f09e79c9 ("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>

authored by

Théo Lebrun and committed by
Stephen Boyd
ee0cf5e0 5607068a

+2 -2
+2 -2
include/linux/clk-provider.h
··· 448 448 */ 449 449 #define clk_hw_register_fixed_rate_with_accuracy_parent_hw(dev, name, \ 450 450 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), \ 453 453 (fixed_accuracy), 0, false) 454 454 /** 455 455 * clk_hw_register_fixed_rate_with_accuracy_parent_data - register fixed-rate