Commit 2f5add1e authored by Lee Jones's avatar Lee Jones Committed by Mark Brown

regulator: wm8350-regulator: Repair odd formatting in documentation

Kerneldoc expects function arguments to be in the format '@.*:'.  If
this format is not followed the kerneldoc tooling/parsers/validators
get confused.

Fixes the following W=1 warning(s):

 drivers/regulator/wm8350-regulator.c:1234: warning: Function parameter or member 'wm8350' not described in 'wm8350_register_led'
 drivers/regulator/wm8350-regulator.c:1234: warning: Function parameter or member 'lednum' not described in 'wm8350_register_led'
 drivers/regulator/wm8350-regulator.c:1234: warning: Function parameter or member 'dcdc' not described in 'wm8350_register_led'
 drivers/regulator/wm8350-regulator.c:1234: warning: Function parameter or member 'isink' not described in 'wm8350_register_led'
 drivers/regulator/wm8350-regulator.c:1234: warning: Function parameter or member 'pdata' not described in 'wm8350_register_led'
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20200625163614.4001403-7-lee.jones@linaro.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent aeee55b7
...@@ -1216,11 +1216,11 @@ EXPORT_SYMBOL_GPL(wm8350_register_regulator); ...@@ -1216,11 +1216,11 @@ EXPORT_SYMBOL_GPL(wm8350_register_regulator);
/** /**
* wm8350_register_led - Register a WM8350 LED output * wm8350_register_led - Register a WM8350 LED output
* *
* @param wm8350 The WM8350 device to configure. * @wm8350: The WM8350 device to configure.
* @param lednum LED device index to create. * @lednum: LED device index to create.
* @param dcdc The DCDC to use for the LED. * @dcdc: The DCDC to use for the LED.
* @param isink The ISINK to use for the LED. * @isink: The ISINK to use for the LED.
* @param pdata Configuration for the LED. * @pdata: Configuration for the LED.
* *
* The WM8350 supports the use of an ISINK together with a DCDC to * The WM8350 supports the use of an ISINK together with a DCDC to
* provide a power-efficient LED driver. This function registers the * provide a power-efficient LED driver. This function registers the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment