diff options
author | Lukas Bulwahn <lukas.bulwahn@gmail.com> | 2022-10-31 16:18:08 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2022-10-31 23:31:57 +0100 |
commit | 98c148cd5c73a4cf1d78319e309a79eef50b4220 (patch) | |
tree | 30e98cef84718f7bb83938cbe8ecd5521e94ca2f /scripts/generate_initcall_order.pl | |
parent | 14a3d159abf8f6013d40723856283705253e7e9a (diff) |
power: supply: core: repair kernel-doc for power_supply_vbat2ri()
The function power_supply_vbat2ri() does not have a parameter called table,
despite it being mentioned in the kernel-doc comment. The table is actually
obtained from the info parameter, the battery information container. Hence,
./scripts/kernel-doc -none drivers/power/supply/power_supply_core.c warns
about this excess function parameter.
Adjust the kernel-doc comment for power_supply_vbat2ri() for make W=1
happiness.
Fixes: e9e7d165b4b0 ("power: supply: Support VBAT-to-Ri lookup tables")
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'scripts/generate_initcall_order.pl')
0 files changed, 0 insertions, 0 deletions