Skip to content
Commit eaf140b6 authored by Shuah Khan's avatar Shuah Khan Committed by Rafael J. Wysocki
Browse files

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: default avatarShuah Khan <shuah.kh@samsung.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 3b2f64d0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment