regulator: of: add support for adding consumer list from DT
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 17 Sep 2013 14:45:26 +0000 (19:45 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Fri, 27 Sep 2013 02:46:11 +0000 (19:46 -0700)
commit2e24c4acc8e419452fd48b42091500ba4dc004bf
tree2fad25c6444113a6707ea8b908bd7b5bfb8d7d0d
parent4e8ff9a32bf0717c7a790bfebdb9a0eb7d1f4cba
regulator: of: add support for adding consumer list from DT

To support the regulator registration through DT and consumer
from non-dt, add support for adding consumer list through DT
so that non-dt driver can get their regulator in normal way
without modifying anything on client driver.

Change-Id: I7d3ca0994b1d5c28767b956df4c3eb861eec2af4
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/275794
Documentation/devicetree/bindings/regulator/regulator.txt
drivers/regulator/of_regulator.c