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)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 6 Aug 2012 10:40:13 +0000 (15:40 +0530)
commite3ecb7835dda9cb9614682f39963791ecf5a741f
tree6ac50c8300aca39db050530a73eebddce5a16856
parent6b54c1a6a43304c59ea3600796adb777ac3c125c
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