Skip to content

Commit

Permalink
power: supply: Fix kerneldoc of power_supply_temp2resist_simple()
Browse files Browse the repository at this point in the history
Fix W=1 compile warnings (invalid kerneldoc):

    drivers/power/supply/power_supply_core.c:747: warning: Function parameter or member 'temp' not described in 'power_supply_temp2resist_simple'
    drivers/power/supply/power_supply_core.c:747: warning: Excess function parameter 'ocv' description in 'power_supply_temp2resist_simple'

Signed-off-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
  • Loading branch information
krzk authored and sre committed Jul 29, 2020
1 parent 362fd2e commit 152ee3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/power/supply/power_supply_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ EXPORT_SYMBOL_GPL(power_supply_put_battery_info);
* percent
* @table: Pointer to battery resistance temperature table
* @table_len: The table length
* @ocv: Current temperature
* @temp: Current temperature
*
* This helper function is used to look up battery internal resistance percent
* according to current temperature value from the resistance temperature table,
Expand Down

0 comments on commit 152ee3d

Please sign in to comment.