mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
power: supply: cpcap-battery: Fix kerneldoc of cpcap_battery_read_accumulated()
Fix W=1 compile warnings (invalid kerneldoc): drivers/power/supply/cpcap-battery.c:292: warning: Function parameter or member 'ccd' not described in 'cpcap_battery_read_accumulated' drivers/power/supply/cpcap-battery.c:292: warning: Excess function parameter 'regs' description in 'cpcap_battery_read_accumulated' Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
parent
471dec8023
commit
362fd2ecc3
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ static int cpcap_battery_cc_to_ua(struct cpcap_battery_ddata *ddata,
|
|||
/**
|
||||
* cpcap_battery_read_accumulated - reads cpcap coulomb counter
|
||||
* @ddata: device driver data
|
||||
* @regs: coulomb counter values
|
||||
* @ccd: coulomb counter values
|
||||
*
|
||||
* Based on Motorola mapphone kernel function data_read_regs().
|
||||
* Looking at the registers, the coulomb counter seems similar to
|
||||
|
|
Loading…
Reference in a new issue