commit | e515800b74e80c8d507d52e4703b00138daf75b2 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Fri Aug 30 20:08:42 2013 +0800 |
committer | Mark Brown <broonie@linaro.org> | Fri Aug 30 15:24:42 2013 +0100 |
tree | d488585df417d6cb0d46d4950607a4adf1097395 | |
parent | 556dcf903d8a22aa1b3eb743aeffd4849eef2e24 [diff] |
regulator: da9063: Use IS_ERR to check return value of regulator_register() regulator_register() does not return NULL, it returns ERR_PTR on error. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>