]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3421d02aa24a5223b82d5bb1b53b32ea9bc0e939
tree052e9fd5b3425fade9698f67c40bfd3d02d5366b
parent8cee013a1d67c4fe279a78cada3554a18309b77c
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