arm: tegra: Fix coverity issue
authorSri Krishna chowdary <schowdary@nvidia.com>
Mon, 17 Sep 2012 05:03:54 +0000 (10:03 +0530)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Fri, 21 Sep 2012 14:14:28 +0000 (07:14 -0700)
commit4c8f1c8a8d482b77801ae2b828013cc1e5786272
tree035ea6be26cde61d9a37457f5fa07f531ae05d89
parentfe20b5ac6993496b533e54cbf1e59fcd4a146901
arm: tegra: Fix coverity issue

Differentiate between success and failure of gpio_request.

Bug 1046331

Change-Id: I400d574e8fd492739cd0dffb3a96f8801c624a3e
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/133167
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
arch/arm/mach-tegra/board-cardhu.c