regulator: max8998: Fix platform data retrieval.

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: ee999fb3f17f ("mfd: max8998: Add support for Device Tree")
Signed-off-by: PaweÅ‚ Chmiel <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
1 file changed
OSZAR »