]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: max8998: Fix platform data retrieval.
authorPaweł Chmiel <pawel.mikolaj.chmiel@gmail.com>
Fri, 27 Apr 2018 16:02:59 +0000 (18:02 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 17 May 2018 05:12:04 +0000 (14:12 +0900)
commitc1472737914fe5246a672fef6e85c9455de8473f
tree9f14644502ec59b7708c7cd50f2b385b1fec4ec6
parentd2a66ddfe8acd91aca81af2ef39abd5813d5dc65
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 <pawel.mikolaj.chmiel@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max8998.c