OSDN Git Service

mfd: tps65217: Repair incorrect function argument name 's/tps65217/tps/'
authorLee Jones <lee.jones@linaro.org>
Wed, 24 Jun 2020 12:14:51 +0000 (13:14 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 6 Jul 2020 07:32:01 +0000 (08:32 +0100)
commit4976bfb8d853a246f83da7ccdfb49fa34093ac0d
tree9a697155dda9084e16d9c22f7f41ec504c5636dd
parent9c3739ee293bc956739c9a90d357595f41f46d39
mfd: tps65217: Repair incorrect function argument name 's/tps65217/tps/'

The kerneldocs for both tps65217_reg_write() and tps65217_update_bits()
describe their first arguments as 'tps65217', when in reality these are
simply called 'tps'.

Fixes the following W=1 warnings:

 drivers/mfd/tps65217.c:215: warning: Function parameter or member 'tps' not described in 'tps65217_reg_write'
 drivers/mfd/tps65217.c:215: warning: Excess function parameter 'tps65217' description in 'tps65217_reg_write'
 drivers/mfd/tps65217.c:261: warning: Function parameter or member 'tps' not described in 'tps65217_update_bits'
 drivers/mfd/tps65217.c:261: warning: Excess function parameter 'tps65217' description in 'tps65217_update_bits'

Cc: Tony Lindgren <tony@atomide.com>
Cc: AnilKumar Ch <anilkumar@ti.com>
Cc: linux-omap@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/tps65217.c