Skip to content

Commit

Permalink
clk: Add missing documentation of devm_clk_bulk_get_optional() argument
Browse files Browse the repository at this point in the history
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: 9bd5ef0 ("clk: Add devm_clk_bulk_get_optional() function")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
  • Loading branch information
Sylwester Nawrocki authored and Stephen Boyd committed Jul 22, 2019
1 parent 1573eeb commit 6ee82ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/clk.h
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,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
Expand Down

0 comments on commit 6ee82ef

Please sign in to comment.