]> Pileus Git - ~andy/linux/commit
regulator: core: Add ability to create a lookup alias for supply
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Tue, 15 Oct 2013 19:14:20 +0000 (20:14 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 17 Oct 2013 23:56:05 +0000 (00:56 +0100)
commita06ccd9c3785fa5550917ae036944f4e080b5749
tree9314ebad2316f4f1e016f53e8f10eb0fbf911190
parent0cdfcc0f9352a4c076fbb51299e2b12a35619a51
regulator: core: Add ability to create a lookup alias for supply

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>
drivers/regulator/core.c
drivers/regulator/devres.c
include/linux/regulator/consumer.h