regulator: core: Use IS_ERR_OR_NULL()
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 17 Aug 2015 07:00:58 +0000 (12:30 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 17 Aug 2015 20:05:29 +0000 (13:05 -0700)
Use IS_ERR_OR_NULL() rather than open coding it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c

Simple merge