i2c: tegra: Add stub runtime power management
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 29 Aug 2012 10:11:37 +0000 (15:11 +0530)
committerSimone Willett <swillett@nvidia.com>
Wed, 29 Aug 2012 20:42:23 +0000 (13:42 -0700)
commit08dc4014dc57ecbd495f54bfd89dc31d66bfb64e
tree6a1401c2c3dd935865c5f23c7fc1fa0fb283000c
parent29b248c4f6171b08dc84eda893b1bfffaaeb5cc4
i2c: 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.
The change is based on change done by Mark Brown for s3c2410 i2c bus
driver.
----------
Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
    i2c-s3c2410: Add stub runtime power management
----------

Change-Id: Icb92129c4f79a1642b2b73d14578b05928d745a8
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/128151
drivers/i2c/busses/i2c-tegra.c