[PATCH v2] regulator: mcp16502: add enum MCP16502_REG_HPM description

Randy Dunlap posted 1 patch 2 years, 8 months ago
drivers/regulator/mcp16502.c |    1 +
1 file changed, 1 insertion(+)
[PATCH v2] regulator: mcp16502: add enum MCP16502_REG_HPM description
Posted by Randy Dunlap 2 years, 8 months ago
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'

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
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
v2: remove Fixes: tag, add Rev-by.

 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
  */