commit | eaf140b60ec961252083ab8adaf67aef29a362dd | [log] [tgz] |
---|---|---|
author | Shuah Khan <shuah.kh@samsung.com> | Fri Jul 26 15:07:26 2013 -0600 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Sat Jul 27 03:21:03 2013 +0200 |
tree | 5fca9d78081c2d47a7b45a5ee477e9c1b47de048 | |
parent | 3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b [diff] |
PNP: convert PNP driver bus legacy pm_ops to dev_pm_ops Convert drivers/pnp/driver.c bus legacy pm_ops to dev_pm_ops using existing suspend and resume routines. Add freeze interface to handle PM_EVENT_FREEZE correctly with dev_pm_ops. pm_op() looks for freeze interface when the event is PM_EVENT_FREEZE. Signed-off-by: Shuah Khan <shuah.kh@samsung.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>