ARM: tegra: fix regulator_get() return value check
authorMallikarjun Kasoju <mkasoju@nvidia.com>
Fri, 22 Nov 2013 10:10:12 +0000 (15:10 +0530)
committerLaxman Dewangan <ldewangan@nvidia.com>
Mon, 25 Nov 2013 09:36:06 +0000 (01:36 -0800)
commite08c5b75b14b81ddacfd423727a87e7a020934ca
tree5f29cd8fdbc2394170d5482febc43a644129c8c4
parent2bd68779e8a2c04ea2f6aaf34884765988d69fb0
ARM: 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: I8cf668ca0bced49ee4f47ccf9b02d70fd0263cd6
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/334471
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
27 files changed:
arch/arm/mach-tegra/board-ardbeg-panel.c
arch/arm/mach-tegra/board-bonaire-panel.c
arch/arm/mach-tegra/board-dalmore-panel.c
arch/arm/mach-tegra/board-dalmore-sdhci.c
arch/arm/mach-tegra/board-loki-panel.c
arch/arm/mach-tegra/board-loki-sdhci.c
arch/arm/mach-tegra/board-macallan-panel.c
arch/arm/mach-tegra/board-pismo-panel.c
arch/arm/mach-tegra/board-pismo-sdhci.c
arch/arm/mach-tegra/board-pluto-panel.c
arch/arm/mach-tegra/board-roth-panel.c
arch/arm/mach-tegra/board-roth-sdhci.c
arch/arm/mach-tegra/panel-a-1080p-11-6.c
arch/arm/mach-tegra/panel-a-1080p-14-0.c
arch/arm/mach-tegra/panel-a-edp-1080p-14-0.c
arch/arm/mach-tegra/panel-c-lvds-1366-14.c
arch/arm/mach-tegra/panel-j-1440-810-5-8.c
arch/arm/mach-tegra/panel-j-720p-4-7.c
arch/arm/mach-tegra/panel-l-720p-5-loki.c
arch/arm/mach-tegra/panel-l-720p-5.c
arch/arm/mach-tegra/panel-lgd-wxga-7-0.c
arch/arm/mach-tegra/panel-p-wuxga-10-1.c
arch/arm/mach-tegra/panel-s-1080p-5.c
arch/arm/mach-tegra/panel-s-edp-uhdtv-15-6.c
arch/arm/mach-tegra/panel-s-edp-wqxgap-15-6.c
arch/arm/mach-tegra/panel-s-wqxga-10-1.c
arch/arm/mach-tegra/tegra_bb.c