-
由 Pierre Bourdon 提交于
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: NPierre Bourdon <delroth@google.com> Signed-off-by: NAndre Heider <a.heider@gmail.com> Signed-off-by: NSebastian Reichel <sebastian.reichel@collabora.co.uk>
66ec32fc