Re: [PATCH] power: supply: max17042_battery: Make the fractional LSB macros safe
From: Sebastian Reichel
Date: Sun Oct 04 2026 - 15:34:04 EST
On Tue, 15 Sep 2026 05:25:29 +0000, Babanpreet Singh wrote:
> The fractional LSB macros expand to a plain division, so they only work
> when multiplied first and evaluate to 0 anywhere else. Take the value as
> a macro argument and apply it with mult_frac(). No functional change.
Applied, thanks!
[1/1] power: supply: max17042_battery: Make the fractional LSB macros safe
commit: df2914e2048556478980df4da89d16390c368e4d
Best regards,
--
Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>