video: tegra: fix regulator_get return value check
authorMallikarjun Kasoju <mkasoju@nvidia.com>
Fri, 22 Nov 2013 11:24:23 +0000 (16:24 +0530)
committerLaxman Dewangan <ldewangan@nvidia.com>
Mon, 25 Nov 2013 09:41:42 +0000 (01:41 -0800)
commitf948969c9f5d5b3e28ebf75b3d85811180e385ad
treec3a60343595270f13c72da471d38876eda4fabdc
parentf2adfc121432d25d9e5915af7b81e9f1cd140b2a
video: tegra: fix regulator_get return value check

regulator_get() returns either error pointer or valid pointers.
It never returns NULL. Hence it is not a correct to check
the return pointer as IS_ERR_OR_NULL(). It should be only IS_ERR()

Bug 1410234

Change-Id: Ie5362dfecf00919f081946e766a83b7076f517e1
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/334479
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/video/tegra/camera/camera.c