Message ID | 20190701114651.16872-1-s.nawrocki@samsung.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
Series | clk: Add missing documentation of devm_clk_bulk_get_optional() argument | expand |
Quoting Sylwester Nawrocki (2019-07-01 04:46:51) > 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 <lkp@intel.com> > Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> > --- Applied to clk-fixes
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
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 <lkp@intel.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> --- include/linux/clk.h | 1 + 1 file changed, 1 insertion(+)