regulator: core: Don't defer probe if there's no DT binding for a supply
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 29 Mar 2012 13:19:02 +0000 (14:19 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 3 Apr 2012 13:00:48 +0000 (14:00 +0100)
commit6d191a5fc7a969d972f1681e1c23781aecb06a61
treeb0e8a71935ab3d22e4f211ff10f583cb40832663
parent01e86f4988297abb403be92bc3b6ad24e1d058de
regulator: core: Don't defer probe if there's no DT binding for a supply

When using device tree if there's no binding for a supply then there's no
way that one could appear later so just fail permanently right away. This
avoids wasting time trying to reprobe when that can never work.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/core.c