[RESEND 10/10] regulator: max14577-regulator: Demote kerneldoc header to standard comment

Lee Jones lee.jones at linaro.org
Thu Jun 25 15:17:08 EDT 2020


Nothing about this comment identifies it as a kerneldoc header.
It's missing all of it's function argument descriptions and the
correct function header.

Fixes the following W=1 warning(s):

 drivers/regulator/max14577-regulator.c:166: warning: Function parameter or member 'max14577' not described in 'max14577_get_regma
 drivers/regulator/max14577-regulator.c:166: warning: Function parameter or member 'reg_id' not described in 'max14577_get_regmap'

Cc: Chanwoo Choi <cw00.choi at samsung.com>
Cc: Krzysztof Kozlowski <krzk at kernel.org>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie at samsung.com>
Signed-off-by: Lee Jones <lee.jones at linaro.org>
---
 drivers/regulator/max14577-regulator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/regulator/max14577-regulator.c b/drivers/regulator/max14577-regulator.c
index 07a150c9bbf22..e34face736f48 100644
--- a/drivers/regulator/max14577-regulator.c
+++ b/drivers/regulator/max14577-regulator.c
@@ -155,7 +155,7 @@ static const struct regulator_desc max77836_supported_regulators[] = {
 	[MAX77836_LDO2] = MAX77836_LDO_REG(2),
 };
 
-/**
+/*
  * Registers for regulators of max77836 use different I2C slave addresses so
  * different regmaps must be used for them.
  *
-- 
2.25.1




More information about the linux-arm-kernel mailing list