]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite219333f281843c6be422a30045632f7d6f99943
tree10be023b0a728391bc40e6b0294dbee48a4df00e
parent638c929ae0f6916754f49b6115f2f5eab082a6a8
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