summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/ad5398.c
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>2014-11-10 14:43:54 +0100
committerMark Brown <broonie@kernel.org>2014-11-26 18:58:14 +0000
commit75d6b2faf79cbe9086e831351d5d9085f1852928 (patch)
tree15538806a5ea1a7e01e56fad62e73e97780a993b /drivers/regulator/ad5398.c
parent072e78b12bf5182a3e2e460388214a291023ef1c (diff)
downloadblackbird-obmc-linux-75d6b2faf79cbe9086e831351d5d9085f1852928.tar.gz
blackbird-obmc-linux-75d6b2faf79cbe9086e831351d5d9085f1852928.zip
regulator: of: Pass the regulator description in the match table
Drivers can use the of_regulator_match() function to parse the regulator init_data from DT. A match table is used to specify the name of the node containing the regulators, the device node and to return the init_data to the caller. But also the static regulator descriptor is needed to correctly extract some DT properties like the regulator initial and suspend modes. Use the match table to pass that information. Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/ad5398.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud