power: supply: max8997_charger: Switch to new binding
authorTimon Baetz <timon.baetz@protonmail.com>
Mon, 29 Mar 2021 14:38:02 +0000 (14:38 +0000)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Fri, 2 Apr 2021 12:12:52 +0000 (14:12 +0200)
commit416682f27a23e3f19fde37abf5ce11d11abe79fd
treef1770385d0fa5a412b9a5f9ea813387be47df013
parent9f45275a3499229137d8c0ce0fe400d0729581a4
power: supply: max8997_charger: Switch to new binding

Get regulator from parent device's node and extcon by name.

Signed-off-by: Timon Baetz <timon.baetz@protonmail.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/max8997_charger.c