]> 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)
commit2f173fdf2e4d9cb3f9755469ae2051f72e79957a
tree10be023b0a728391bc40e6b0294dbee48a4df00e
parent5723848a5d1f4419f12b8d299f634d92b9924c67
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