Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: Pierre Bourdon <[email protected]> Signed-off-by: Andre Heider <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
- Loading branch information