Re: [PATCH] power: supply: ds2780: Fix ds2780_get_capacity() returning raw value
From: Sebastian Reichel
Date: Wed Sep 09 2026 - 18:52:32 EST
On Tue, 01 Sep 2026 15:29:54 +0800, Xueqin Luo wrote:
> ds2780_get_capacity() returns the raw register value instead of 0 on
> success. The capacity is already stored in *capacity, so the function
> should return 0 to indicate success.
Applied, thanks!
[1/1] power: supply: ds2780: Fix ds2780_get_capacity() returning raw value
commit: a58cbc8b36ec0cd00d2ba3de7d003de818a27523
Best regards,
--
Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>