From: Nishanth Menon Date: Tue, 16 Apr 2013 21:45:16 +0000 (-0500) Subject: regulator: core: return err value for regulator_get if there is no DT binding X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~131^2~21^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e4b545cdd93318379c6b1fb0a99536fa3260f53;p=pandora-kernel.git regulator: core: return err value for regulator_get if there is no DT binding commit 6d191a5fc7a969d972f1681e1c23781aecb06a61 (regulator: core: Don't defer probe if there's no DT binding for a supply) Attempted to differentiate between regulator_get() with an actual DT binding for the supply and when there is none to avoid unnecessary deferal. However, ret value supplied by regulator_dev_lookup() is being ignored by regulator_get(). So, exit with the appropriate return value. Signed-off-by: Nishanth Menon Signed-off-by: Mark Brown --- Reading git-diff-tree failed