Message ID | 20210419163336.64075-5-krzysztof.kozlowski@canonical.com |
---|---|
State | Accepted |
Commit | 43d8766372f49a2f40339e4e95abaa63bcc10905 |
Headers | show |
Series | [1/5] power: supply: max14577: remove unneeded variable initialization | expand |
diff --git a/drivers/power/supply/bq256xx_charger.c b/drivers/power/supply/bq256xx_charger.c index 2ab5ba4af92b..f501ecd49202 100644 --- a/drivers/power/supply/bq256xx_charger.c +++ b/drivers/power/supply/bq256xx_charger.c @@ -202,6 +202,8 @@ enum bq256xx_id { * @client: i2c client structure * @regmap: register map structure * @dev: device structure + * @charger: power supply registered for the charger + * @battery: power supply registered for the battery * @lock: mutex lock structure * * @usb2_phy: usb_phy identifier
Document members of structure to fix W=1 warnings like: drivers/power/supply/bq256xx_charger.c:240: warning: Function parameter or member 'charger' not described in 'bq256xx_device' Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> --- drivers/power/supply/bq256xx_charger.c | 2 ++ 1 file changed, 2 insertions(+)