PNP: fix restoring devices after hibernation
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 5 Dec 2013 01:01:55 +0000 (02:01 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 5 Dec 2013 01:01:55 +0000 (02:01 +0100)
commit8a37ea50e7acf8db6821ba094ca41384e7d8c70c
tree1e1f1099f87e08b8326575adf130ce37ba315dbb
parentdc1ccc48159d63eca5089e507c82c7d22ef60839
PNP: fix restoring devices after hibernation

On returning from hibernation 'restore' callback is called,
not 'resume'.  Fix it.

Fixes: eaf140b60ec9 (PNP: convert PNP driver bus legacy pm_ops to dev_pm_ops)
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: 3.12+ <stable@vger.kernel.org> # 3.12+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/pnp/driver.c