Skip to content

Commit 362fd2e

Browse files
krzksre
authored andcommitted
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 <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
1 parent 471dec8 commit 362fd2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/power/supply/cpcap-battery.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ static int cpcap_battery_cc_to_ua(struct cpcap_battery_ddata *ddata,
274274
/**
275275
* cpcap_battery_read_accumulated - reads cpcap coulomb counter
276276
* @ddata: device driver data
277-
* @regs: coulomb counter values
277+
* @ccd: coulomb counter values
278278
*
279279
* Based on Motorola mapphone kernel function data_read_regs().
280280
* Looking at the registers, the coulomb counter seems similar to

0 commit comments

Comments
 (0)