spi: tegra: cleanup in runtime_pm implementation.
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 23 May 2012 07:30:01 +0000 (12:30 +0530)
committerSimone Willett <swillett@nvidia.com>
Thu, 24 May 2012 01:42:43 +0000 (18:42 -0700)
commit2f8a84dcc28dfb3fc9638dadc6692b8f96c5bb77
tree6d1d276a4eb46bdd7caa931febb3ef46ea4312f7
parenta9f373a2b8d3ee1186e94ea7ed89f77e5b33179f
spi: tegra: cleanup in runtime_pm implementation.

Cleaning up runtime pm implementation for the driver.
There is lots of duplicate code which is not require as
it is handled in the runtime framework.

Change-Id: I4494cdd3518cbcb90f24fb3387f38c9859b4f957
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/102206
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
drivers/spi/spi-tegra.c