Re: [PATCH 1/1] power: return the correct error code

From: Sebastian Reichel
Date: Sun Jun 22 2025 - 15:13:46 EST



On Tue, 13 May 2025 20:37:32 +0800, Yuanjun Gong wrote:
> In POWER_SUPPLY_PROP_MODEL_NAME branch of max1720x_battery_get_property(),
> program would return -ENODEV out of FIELD_GET error, but it's better also
> considering the error code returned by regmap_read() in case it fails.
>
>

Applied, thanks!

[1/1] power: return the correct error code
commit: a9aece5d7e8fa8bc74f1827d2cf1b189ffe7e8c8

Best regards,
--
Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>