regulator: devres: Fix issues with kerneldoc headers
authorLee Jones <lee.jones@linaro.org>
Wed, 8 Jul 2020 12:48:30 +0000 (13:48 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 8 Jul 2020 16:37:52 +0000 (17:37 +0100)
commit9565cccd64876dd1f8732fad3a04f8daa41fcef9
treeead769a78c4d06c7666649e56f06565b5c92ca3f
parent318b8a09f295cbf86fd504bcff3769b1fc4a936b
regulator: devres: Fix issues with kerneldoc headers

Provide descriptions for some missing function args and
rename others to match the names used.

Fixes the following W=1 warning(s):

 drivers/regulator/devres.c:187: warning: Function parameter or member 'dev' not described in 'devm_regulator_register'
 drivers/regulator/devres.c:226: warning: Function parameter or member 'dev' not described in 'devm_regulator_unregister'
 drivers/regulator/devres.c:226: warning: Function parameter or member 'rdev' not described in 'devm_regulator_unregister'
 drivers/regulator/devres.c:226: warning: Excess function parameter 'regulator' description in 'devm_regulator_unregister'

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20200708124832.3441649-2-lee.jones@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/devres.c