[PATCH 1/2] Documentation: i2c: Use PM ops instead of legacy suspend/resume

2014-11-30 Thread Lars-Peter Clausen
New drivers should use PM ops instead of the legacy suspend/resume callbacks. Update the I2C device driver guides to reflect this. Signed-off-by: Lars-Peter Clausen l...@metafoo.de --- Documentation/i2c/upgrading-clients | 6 ++ Documentation/i2c/writing-clients | 8 2 files

[PATCH 2/2] i2c: Remove support for legacy PM

2014-11-30 Thread Lars-Peter Clausen
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