power: supply: max8997-charger: Fix platform data retrieval

Use pdata field of max8998_dev struct to obtain platform data.

Signed-off-by: Timon Baetz <timon.baetz@protonmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
Timon Baetz 2020-11-09 19:43:28 +00:00 • committed by Sebastian Reichel
commit 5976a8d0bd