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)
commit523c5b89640e147abc7c70466f55327df8559d0a
tree15911c8c715f9cdafe84d46d68ad4b0af83a243c
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672
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