Skip to content

Commit 6bd1ad9

Browse files
andy-shevbroonie
authored andcommitted
regulator: pf9453: Fix kernel doc for mux_poll()
The validator is not happy: Warning: drivers/regulator/pf9453-regulator.c:303 This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Update the kernel-doc accordingly. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://patch.msgid.link/20251106114628.2302762-1-andriy.shevchenko@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 1044821 commit 6bd1ad9

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

drivers/regulator/pf9453-regulator.c

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -289,13 +289,15 @@ static int pf9453_pmic_write(struct pf9453 *pf9453, unsigned int reg, u8 mask, u
289289
}
290290

291291
/**
292-
* pf9453_regulator_enable_regmap for regmap users
292+
* pf9453_regulator_enable_regmap - enable regulator for regmap users
293293
*
294294
* @rdev: regulator to operate on
295295
*
296296
* Regulators that use regmap for their register I/O can set the
297297
* enable_reg and enable_mask fields in their descriptor and then use
298298
* this as their enable() operation, saving some code.
299+
*
300+
* Return: %0 on success, or negative errno.
299301
*/
300302
static int pf9453_regulator_enable_regmap(struct regulator_dev *rdev)
301303
{
@@ -314,13 +316,15 @@ static int pf9453_regulator_enable_regmap(struct regulator_dev *rdev)
314316
}
315317

316318
/**
317-
* pf9453_regulator_disable_regmap for regmap users
319+
* pf9453_regulator_disable_regmap - disable regulator for regmap users
318320
*
319321
* @rdev: regulator to operate on
320322
*
321323
* Regulators that use regmap for their register I/O can set the
322324
* enable_reg and enable_mask fields in their descriptor and then use
323325
* this as their disable() operation, saving some code.
326+
*
327+
* Return: %0 on success, or negative errno.
324328
*/
325329
static int pf9453_regulator_disable_regmap(struct regulator_dev *rdev)
326330
{
@@ -339,14 +343,16 @@ static int pf9453_regulator_disable_regmap(struct regulator_dev *rdev)
339343
}
340344

341345
/**
342-
* pf9453_regulator_set_voltage_sel_regmap for regmap users
346+
* pf9453_regulator_set_voltage_sel_regmap - set voltage for regmap users
343347
*
344348
* @rdev: regulator to operate on
345349
* @sel: Selector to set
346350
*
347351
* Regulators that use regmap for their register I/O can set the
348352
* vsel_reg and vsel_mask fields in their descriptor and then use this
349353
* as their set_voltage_vsel operation, saving some code.
354+
*
355+
* Return: %0 on success, or negative errno.
350356
*/
351357
static int pf9453_regulator_set_voltage_sel_regmap(struct regulator_dev *rdev, unsigned int sel)
352358
{
@@ -397,14 +403,16 @@ static int find_closest_bigger(unsigned int target, const unsigned int *table,
397403
}
398404

399405
/**
400-
* pf9453_regulator_set_ramp_delay_regmap
406+
* pf9453_regulator_set_ramp_delay_regmap - set ramp delay for regmap users
401407
*
402408
* @rdev: regulator to operate on
403409
* @ramp_delay: desired ramp delay value in microseconds
404410
*
405411
* Regulators that use regmap for their register I/O can set the ramp_reg
406412
* and ramp_mask fields in their descriptor and then use this as their
407413
* set_ramp_delay operation, saving some code.
414+
*
415+
* Return: %0 on success, or negative errno.
408416
*/
409417
static int pf9453_regulator_set_ramp_delay_regmap(struct regulator_dev *rdev, int ramp_delay)
410418
{

0 commit comments

Comments
 (0)