summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/core.c
diff options
context:
space:
mode:
authorTamara Diaconita <diaconitatamara@gmail.com>2017-03-28 21:30:21 +0300
committerMark Brown <broonie@kernel.org>2017-03-29 11:35:32 +0100
commitfffd1133388857f5b4b8c588b41b2ade16c7891c (patch)
tree8a2424b176f4f23bd932e840b72e9b7c6bac1fa6 /drivers/regulator/core.c
parent0630b614391f8cbc35e837b4645ec8faaaa6465e (diff)
downloadop-kernel-dev-fffd1133388857f5b4b8c588b41b2ade16c7891c.zip
op-kernel-dev-fffd1133388857f5b4b8c588b41b2ade16c7891c.tar.gz
regulator: core: Fix kerneldoc comments
Remove the description for the non-existing 'ret' to fix the build warning: ./drivers/regulator/core.c:1467: warning: Excess function parameter 'ret' description in 'regulator_dev_lookup'. The description found for the return value is: @ret: 0 on success, -ENODEV if lookup fails permanently, -EPROBE_DEFER if lookup could succeed in the future. Signed-off-by: Tamara Diaconita <diaconita.tamara@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/core.c')
-rw-r--r--drivers/regulator/core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index 49a0b6a..c20b28a 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -1451,8 +1451,6 @@ static struct regulator_dev *regulator_lookup_by_name(const char *name)
* regulator_dev_lookup - lookup a regulator device.
* @dev: device for regulator "consumer".
* @supply: Supply name or regulator ID.
- * @ret: 0 on success, -ENODEV if lookup fails permanently, -EPROBE_DEFER if
- * lookup could succeed in the future.
*
* If successful, returns a struct regulator_dev that corresponds to the name
* @supply and with the embedded struct device refcount incremented by one.
OpenPOWER on IntegriCloud