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

regulator: stpmic1: Fix kernel-doc notation warnings

No functional modification involved.

drivers/regulator/stpmic1_regulator.c:31: warning: expecting prototype for struct stpmic1. Prototype was for struct stpmic1_regulator_cfg instead.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7206
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/20231109073925.98783-1-jiapeng.chong@linux.alibaba.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Jiapeng Chong and committed by
Mark Brown
e1eb7450 1fc2e768

+1 -1
+1 -1
drivers/regulator/stpmic1_regulator.c
··· 15 15 #include <dt-bindings/mfd/st,stpmic1.h> 16 16 17 17 /** 18 - * struct stpmic1 regulator description: this structure is used as driver data 18 + * struct stpmic1_regulator_cfg - this structure is used as driver data 19 19 * @desc: regulator framework description 20 20 * @mask_reset_reg: mask reset register address 21 21 * @mask_reset_mask: mask rank and mask reset register mask