diff options
| author | 2013-01-25 21:29:41 +0800 | |
|---|---|---|
| committer | 2013-01-26 15:40:36 +0800 | |
| commit | d4cbca9ef822e05d4b55e7d0f1cdfded7a472a56 (patch) | |
| tree | 323b1dde4f0938b2a975ab873e96d9028908767c /include/linux/flex_array.h | |
| parent | Linux 3.8-rc5 (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>
Diffstat (limited to 'include/linux/flex_array.h')
0 files changed, 0 insertions, 0 deletions
