]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: tps65218: Repair incorrect function argument name 's/tps65218/tps/'
authorLee Jones <lee.jones@linaro.org>
Wed, 24 Jun 2020 12:10:54 +0000 (13:10 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 6 Jul 2020 07:32:01 +0000 (08:32 +0100)
commitfe1cdf1d8838227047bdfb9014e14c97d9a01474
tree0866f93f54fa446b65cffccfd202fc37c8b9bb24
parent77e02e2141df4a1522d443ca966cc7e2bd3ba286
mfd: tps65218: Repair incorrect function argument name 's/tps65218/tps/'

The kerneldocs for both tps65218_reg_write() and tps65218_update_bits()
describe their first arguments as 'tps65218', when in reality these are
simply called 'tps'.

Fixes the following W=1 warnings:

 drivers/mfd/tps65218.c:58: warning: Function parameter or member 'tps' not described in 'tps65218_reg_write'
 drivers/mfd/tps65218.c:58: warning: Excess function parameter 'tps65218' description in 'tps65218_reg_write'
 drivers/mfd/tps65218.c:90: warning: Function parameter or member 'tps' not described in 'tps65218_update_bits'
 drivers/mfd/tps65218.c:90: warning: Excess function parameter 'tps65218' description in 'tps65218_update_bits'

Cc: Tony Lindgren <tony@atomide.com>
Cc: J Keerthy <j-keerthy@ti.com>
Cc: linux-omap@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/tps65218.c