diff options
author | Nishanth Menon <nm@ti.com> | 2013-04-17 01:45:16 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-17 17:58:17 +0400 |
commit | 1e4b545cdd93318379c6b1fb0a99536fa3260f53 (patch) | |
tree | ff314a75ecf106aef718f1160d2dd9064ca7ebb9 /drivers/char/nwflash.c | |
parent | 0f7b87f0acc04e4f22ec5d3f2283a80993ca3aa8 (diff) | |
download | linux-1e4b545cdd93318379c6b1fb0a99536fa3260f53.tar.xz |
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 <nm@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/char/nwflash.c')
0 files changed, 0 insertions, 0 deletions