From: Mark Brown Date: Tue, 2 Mar 2010 11:23:46 +0000 (+0100) Subject: i2c: Hook up runtime PM support X-Git-Tag: v2.6.34-rc1~222^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6de468ae2df0ee6fbee668d946811638b57361f6;p=pandora-kernel.git i2c: Hook up runtime PM support Allow I2C drivers to make use of the runtime PM framework by adding bus implementations of the runtime PM operations. These simply immediately suspend when the device is idle. The runtime PM framework provides drivers with off the shelf refcounts for enables and sysfs control for managing runtime suspend from userspace so is useful even without meaningful input from the bus. Signed-off-by: Mark Brown Signed-off-by: Jean Delvare --- Reading git-diff-tree failed