ARM: tegra: power: Fix-up return value
authorShridhar Rasal <srasal@nvidia.com>
Wed, 23 Nov 2011 08:58:18 +0000 (13:58 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 07:58:18 +0000 (00:58 -0700)
commitf240113197bab57d9de92927fffa427d155e49d8
tree40cc2af6cc7e947b7c4ea0a73c5af03dfa65a09c
parent6373671425d8dcc1deaaf030326e4b4f0a083d0c
ARM: tegra: power: Fix-up return value

Fixes the return value for tegra_powergate_set () when new status
to be set and current status are same.

Change-Id: Iffbc4fac239c4ea21f3026cbf33fe4fb7941aa2d
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/66404
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

Rebase-Id: Rbdab9a71478fde0902191c85ac6340b74907d70d
arch/arm/mach-tegra/powergate.c