Fix an incomplete devm_clk_bulk_get_optional() function documentation
by adding description of the num_clks argument as in other *clk_bulk*
functions.

Fixes: 9bd5ef0bd874 ("clk: Add devm_clk_bulk_get_optional() function")
Reported-by: kbuild test robot <l...@intel.com>
Signed-off-by: Sylwester Nawrocki <s.nawro...@samsung.com>
---
 include/linux/clk.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/clk.h b/include/linux/clk.h
index 5e7b2dd84965a..0868703925028 100644
--- a/include/linux/clk.h
+++ b/include/linux/clk.h
@@ -362,6 +362,7 @@ int __must_check devm_clk_bulk_get(struct device *dev, int 
num_clks,
 /**
  * devm_clk_bulk_get_optional - managed get multiple optional consumer clocks
  * @dev: device for clock "consumer"
+ * @num_clks: the number of clk_bulk_data
  * @clks: pointer to the clk_bulk_data table of consumer
  *
  * Behaves the same as devm_clk_bulk_get() except where there is no clock
-- 
2.17.1

Reply via email to