i2c-core: i2c bus should support PM entries in struct dev_pm_ops
authorsonic zhang <sonic.adi@gmail.com>
Mon, 14 Dec 2009 20:17:30 +0000 (21:17 +0100)
committerJean Delvare <khali@linux-fr.org>
Mon, 14 Dec 2009 20:17:30 +0000 (21:17 +0100)
commit54067ee20645a4ee12a9546aeb3b048b4c44cf60
tree2f4047cf492f1880f39dd21dba0c9932f2f8a862
parent7f508118b1c1f9856a1c899a2bd4867a962b0225
i2c-core: i2c bus should support PM entries in struct dev_pm_ops

Struct dev_pm_ops is not configured in current i2c bus type. i2c drivers
only depends on suspend/resume entries in struct dev_pm_ops are not
informed of PM suspend and resume events by i2c framework.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/i2c-core.c