regulator: tps65090: Use IS_ERR to check return value of regulator_register
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 2 Aug 2012 12:42:04 +0000 (17:42 +0530)
committerSimone Willett <swillett@nvidia.com>
Fri, 3 Aug 2012 01:14:17 +0000 (18:14 -0700)
commit019beb7d026d66916d2f44a90a6ba76ece2d037a
treebd240559ef66291dd5d4cf397edea44a458f20d5
parentccf0f3f89e957828412db44370133fb8fa29473e
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>
(Cherry-picked from mainline
0ca2d6e65268477a53f959320a43d13b0c4d6b70)

Conflicts:

drivers/regulator/tps65090-regulator.c

Change-Id: Id79e2beb2a3e278ace32054c19c463783f334a16
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/120372
drivers/regulator/tps65090-regulator.c