linux-stable/drivers/power
Tomasz Figa 925c19a8c6 power: supply: max8998-charger: Fix platform data retrieval
[ Upstream commit cb90a2c6f7 ]

Since the max8998 MFD driver supports instantiation by DT, platform data
retrieval is handled in MFD probe and cell drivers should get use
the pdata field of max8998_dev struct to obtain them.

Fixes: ee999fb3f1 ("mfd: max8998: Add support for Device Tree")
Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Signed-off-by: Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-20 18:46:47 +01:00
..
avs headers: separate linux/mod_devicetable.h from linux/platform_device.h 2018-07-07 17:52:26 +02:00
reset power: reset: at91-poweroff: do not procede if at91_shdwc is allocated 2019-11-20 18:46:46 +01:00
supply power: supply: max8998-charger: Fix platform data retrieval 2019-11-20 18:46:47 +01:00
Kconfig power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
Makefile power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00