]> asedeno.scripts.mit.edu Git - linux.git/commit
PM: sleep: Drop dpm_noirq_begin() and dpm_noirq_end()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 15 Jul 2019 21:52:18 +0000 (23:52 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 23 Jul 2019 07:46:56 +0000 (09:46 +0200)
commitb605c44c30b59990e806f930c37bd288b9d901a5
treebc915d93fd56c35f0e3c0685611d7b9e8f18e24c
parent8eb0fd3b55f084320ae511cd5a64d356cf497c83
PM: sleep: Drop dpm_noirq_begin() and dpm_noirq_end()

Note that after previous changes dpm_noirq_begin() and
dpm_noirq_end() each have only one caller, so move the code from
them to their respective callers and drop them.

Also note that dpm_noirq_resume_devices() and
dpm_noirq_suspend_devices() need not be exported any more, so make
them both static.

This change is not expected to alter functionality.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
drivers/base/power/main.c
include/linux/pm.h