regulator: wm8350: Do not hardcode return value
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 18 Feb 2014 10:40:57 +0000 (16:10 +0530)
committerMark Brown <broonie@linaro.org>
Wed, 19 Feb 2014 04:24:12 +0000 (13:24 +0900)
commit0b61ad1a7e5a62b771e20401bebfaa062502039c
tree6538d95a27c8748383868b64a139e53d10a3aa05
parent38dbfb59d1175ef458d006556061adeaa8751b72
regulator: wm8350: Do not hardcode return value

Propagate the error value returned by the function instead.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/wm8350-regulator.c