regulator: tps65090: Use IS_ERR to check return value of regulator_register
authorAxel Lin <axel.lin@gmail.com>
Sat, 24 Mar 2012 02:56:00 +0000 (10:56 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 1 Apr 2012 10:59:32 +0000 (11:59 +0100)
commit0ca2d6e65268477a53f959320a43d13b0c4d6b70
tree44d38d6cca51c7e59fedef981fb5817323f961ad
parente18162353afbb1b58622add7ea0f7a78c11ee44a
regulator: tps65090: Use IS_ERR to check return value of regulator_register

regulator_register never returns NULL.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked by: Venu Byravarasu <vbyravarasu@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/tps65090-regulator.c