aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorUlf Hansson <[email protected]>2018-01-16 08:01:27 +0000
committerRafael J. Wysocki <[email protected]>2018-01-17 11:42:49 +0000
commit617fcb673090e495f58565ff0171d07abdad53a7 (patch)
tree587b42ba0d8ac2adfdab522fe4d054372719db1b /drivers/acpi/cppc_acpi.c
parentPM / runtime: Check ignore_children in pm_runtime_need_not_resume() (diff)
downloadkernel-617fcb673090e495f58565ff0171d07abdad53a7.tar.gz
kernel-617fcb673090e495f58565ff0171d07abdad53a7.zip
PM / runtime: Allow no callbacks in pm_runtime_force_suspend|resume()
The pm_runtime_force_suspend|resume() helpers currently requires the device to at some level (PM domain, bus, etc), have the ->runtime_suspend|resume() callbacks assigned for it, else -ENOSYS is returned as an error. However, there are no reason for this requirement, so let's simply remove it by allowing these callbacks to be NULL. Signed-off-by: Ulf Hansson <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions