summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@google.com>2018-02-20 18:03:18 +0300
committerSebastian Reichel <sre@kernel.org>2018-03-12 16:29:52 +0300
commit66ec32fc7cd116dab5c02603ea8ec28ff92da3b5 (patch)
treeb8f23facbbc9d7a1a5610af53f546b86a8febeca /crypto
parent4a9be940551ab664918ac089b92c47d74e6cb8e7 (diff)
downloadlinux-66ec32fc7cd116dab5c02603ea8ec28ff92da3b5.tar.xz
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 <delroth@google.com> Signed-off-by: Andre Heider <a.heider@gmail.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions