:: Re: [maemo-leste] [PATCH v3] power:…
Top Page
Delete this message
Reply to this message
Author: Sebastian Reichel
To: Sicelo A. Mhlongo
CC: linux-pm, maemo-leste, pali
Subject: Re: [maemo-leste] [PATCH v3] power: supply: bq2415x_charger: report online status

On Thu, Feb 29, 2024 at 08:37:21AM +0200, Sicelo A. Mhlongo wrote:
> +        ret = bq2415x_exec_command(bq, BQ2415X_CHARGE_STATUS);
> +        if (ret < 0)
> +            return ret;
> +        else

The else is not needed, since the if returns. I dropped it
while applying.


-- Sebastian