Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 66ec32fc authored by Pierre Bourdon's avatar Pierre Bourdon Committed by Sebastian Reichel
Browse files

max17042: propagate of_node to power supply device



max17042_get_status uses the core power_supply_am_i_supplied. That
function relies on DT properties to figure out the power supply
topology, and will error out without DT.

Fixes max17042 battery status being reported as "unknown".

Signed-off-by: default avatarPierre Bourdon <delroth@google.com>
Signed-off-by: default avatarAndre Heider <a.heider@gmail.com>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.co.uk>
parent 4a9be940
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment