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)
commit93576842718edf302b03f30b9915d3e704b0c78a
tree10be023b0a728391bc40e6b0294dbee48a4df00e
parentd3fb9800146b7ad96b7604755c1a943fe1abbde2
regulator: core: Use IS_ERR_OR_NULL()

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