arm: tegra: cardhu: fix coverity issue
authorSri Krishna chowdary <schowdary@nvidia.com>
Sun, 14 Oct 2012 08:32:19 +0000 (13:32 +0530)
committerSimone Willett <swillett@nvidia.com>
Tue, 16 Oct 2012 00:14:44 +0000 (17:14 -0700)
commit306d27e401517a066ba233d1e2c8685aca1b7618
treeda3b87e505479c021a151f7b1f6e4385201ea833
parentedf2c5c4a6bb094f159516f20754573e811dd875
arm: tegra: cardhu: fix coverity issue

Check return values from gpio_request and
gpio_direction_input.

Bug 1046331

Change-Id: Iea97537572242430bed42d730543f740d1f56b04
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/144375
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/board-cardhu-pinmux.c