summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/devres.c
Commit message (Collapse)AuthorAgeFilesLines
* regulator: core: Add ability to create a lookup alias for supplyCharles Keepax2013-10-181-0/+163
| | | | | | | | | | | | | | These patches add the ability to create an alternative device on which a lookup for a certain supply should be conducted. A common use-case for this would be devices that are logically represented as a collection of drivers within Linux but are are presented as a single device from device tree. It this case it is necessary for each sub device to locate their supply data on the main device. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@linaro.org>
* regulator: core: Split devres code out into a separate fileMark Brown2013-09-171-0/+252
Cut down on the size of core.c a bit more and ensure that the devres versions of things don't do too much peering inside the internals of the APIs they wrap. Signed-off-by: Mark Brown <broonie@linaro.org>