commit | d4cbca9ef822e05d4b55e7d0f1cdfded7a472a56 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Fri Jan 25 21:29:41 2013 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Sat Jan 26 15:40:36 2013 +0800 |
tree | 323b1dde4f0938b2a975ab873e96d9028908767c | |
parent | 949db153b6466c6f7cad5a427ecea94985927311 [diff] |
regulator: tps80031: 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@opensource.wolfsonmicro.com>