power: supply: ab8500_bmdata: Use standard phandle
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 6 Oct 2021 22:40:07 +0000 (00:40 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 13 Oct 2021 16:15:57 +0000 (18:15 +0200)
commit1a6784359540dcfbf4fa73c07868b80c8405cc14
tree052e9fd5b3425fade9698f67c40bfd3d02d5366b
parenteb415571c78267162e4adc91f259a9f6ee5b344b
power: supply: ab8500_bmdata: Use standard phandle

Look up the battery using the "monitored-battery" phandle
as is nowadays a standard DT binding. The actual bindings
for these charger elements are not upstream so let's sort
out this mess by conforming to the standard.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/ab8500_bmdata.c