spi: tegra: Add stub runtime power management
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 29 Aug 2012 11:42:05 +0000 (16:42 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Fri, 31 Aug 2012 04:50:35 +0000 (09:50 +0530)
commita9f5a5997a2035fd79e27fa7c7475ec55c4ff4ba
tree1203dd74b6981aab4eeb7479789868ca02d3093c
parentb3c5ed1f3e96b4d91db82d36172f416784fdd825
spi: tegra: Add stub runtime power management

Add stub runtime_pm calls which go through the flow of enabling and
disabling but don't actually do anything with the device itself as
there's nothing useful we can do. This provides the core PM framework
with information about when the device is idle, enabling chip wide
power savings.

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