commit | d529de2994880d345d7588f92d5a426f63089ba3 | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Fri Jan 14 22:03:49 2011 +0100 |
committer | Jean Delvare <khali@endymion.delvare> | Fri Jan 14 22:03:49 2011 +0100 |
tree | 038d6dc09e2e767280c2a061e2ff997bba43742d | |
parent | 5219bf884b6e2b54e734ca1799b6f0014bb2b4b7 [diff] |
i2c: Factor out runtime suspend checks from PM operations When devices use dev_pm_ops the I2C API is implementing standard functionality for integration with runtime PM and for checking for the presence of a per device op. The PM core provides pm_generic_ functions implementing this behaviour - use them to reduce coupling with future PM updates. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>