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

mfd: wm8350-core: Supply description wm8350_reg_{un}lock args

Kerneldoc syntax is used, but not complete. Descriptions required.

Prevents warnings like:

drivers/mfd/wm8350-core.c:136: warning: Function parameter or member 'wm8350' not described in 'wm8350_reg_lock'
drivers/mfd/wm8350-core.c:165: warning: Function parameter or member 'wm8350' not described in 'wm8350_reg_unlock'

Cc: patches@opensource.cirrus.com
Signed-off-by: Lee Jones <lee.jones@linaro.org>

+4
+4
drivers/mfd/wm8350-core.c
··· 131 131 * The WM8350 has a hardware lock which can be used to prevent writes to 132 132 * some registers (generally those which can cause particularly serious 133 133 * problems if misused). This function enables that lock. 134 + * 135 + * @wm8350: pointer to local driver data structure 134 136 */ 135 137 int wm8350_reg_lock(struct wm8350 *wm8350) 136 138 { ··· 162 160 * problems if misused). This function disables that lock so updates 163 161 * can be performed. For maximum safety this should be done only when 164 162 * required. 163 + * 164 + * @wm8350: pointer to local driver data structure 165 165 */ 166 166 int wm8350_reg_unlock(struct wm8350 *wm8350) 167 167 {