The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] regulator: mcp16502: add enum MCP16502_REG_HPM description
@ 2023-01-17  7:01 Randy Dunlap
  2023-01-17  8:32 ` Claudiu.Beznea
  2023-01-18 14:55 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Randy Dunlap @ 2023-01-17  7:01 UTC (permalink / raw)
  To: linux-kernel
  Cc: Randy Dunlap, Andrei Stefanescu, Claudiu Beznea, Mark Brown,
	linux-arm-kernel

Add description for MCP16502_REG_HPM to prevent a kernel-doc warning:

drivers/regulator/mcp16502.c:90: warning: Enum value 'MCP16502_REG_HPM' not described in enum 'mcp16502_reg'

Fixes: 3e5532a011b0 ("regulator: mcp16502: adapt for get/set on other registers")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Andrei Stefanescu <andrei.stefanescu@microchip.com>
Cc: Claudiu Beznea <claudiu.beznea@microchip.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
---
 drivers/regulator/mcp16502.c |    1 +
 1 file changed, 1 insertion(+)

diff -- a/drivers/regulator/mcp16502.c b/drivers/regulator/mcp16502.c
--- a/drivers/regulator/mcp16502.c
+++ b/drivers/regulator/mcp16502.c
@@ -77,6 +77,7 @@
  * @MCP16502_REG_A: active state register
  * @MCP16502_REG_LPM: low power mode state register
  * @MCP16502_REG_HIB: hibernate state register
+ * @MCP16502_REG_HPM: high-performance mode register
  * @MCP16502_REG_SEQ: startup sequence register
  * @MCP16502_REG_CFG: configuration register
  */

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-01-18 15:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-17  7:01 [PATCH] regulator: mcp16502: add enum MCP16502_REG_HPM description Randy Dunlap
2023-01-17  8:32 ` Claudiu.Beznea
2023-01-18 14:55 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox