commit | 3ae22e8c8ac39daf88ae32f047fb23825be7c646 | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Sat Dec 25 15:32:27 2010 +0100 |
committer | Rafael J. Wysocki <rjw@sisk.pl> | Sat Dec 25 15:32:27 2010 +0100 |
tree | 20e7ed1005b39e65d99ac351776e74a9c925a6aa | |
parent | 62bcb91573425975d6ad2389d7ab1d8feca88ab4 [diff] |
spi / PM: Support dev_pm_ops Allow SPI drivers to use runtime PM and other dev_pm_ops features by implementing dev_pm_ops for the bus. The existing bus specific suspend and resume functions will be called if a driver does not provide dev_pm_ops allowing for transition to the new model. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>