]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: Remove support for legacy PM
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 30 Nov 2014 16:52:32 +0000 (17:52 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 22 Dec 2014 19:09:08 +0000 (20:09 +0100)
commitb011ef8316b23615a4ec6349aa25e852e2edd484
tree15911c8c715f9cdafe84d46d68ad4b0af83a243c
parentbfa6fa2a2dfa997f6c80e35808e50464ecfebcda
i2c: Remove support for legacy PM

There haven't been any I2C driver that use the legacy suspend/resume
callbacks for a while now and new drivers are supposed to use PM ops. So
remove support for legacy suspend/resume for I2C drivers.

Since there aren't any special bus specific things to do during
suspend/resume and since the PM core will automatically fallback directly to
using the device's PM ops if no bus PM ops are specified there is no need to
have any I2C bus PM ops.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/i2c-core.c
include/linux/i2c.h