Commit b605c44
committed
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>1 parent 8eb0fd3 commit b605c44
2 files changed
+12
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
716 | 716 | | |
717 | 717 | | |
718 | 718 | | |
719 | | - | |
| 719 | + | |
720 | 720 | | |
721 | 721 | | |
722 | 722 | | |
| |||
760 | 760 | | |
761 | 761 | | |
762 | 762 | | |
763 | | - | |
764 | | - | |
765 | | - | |
766 | | - | |
767 | | - | |
768 | | - | |
769 | | - | |
770 | 763 | | |
771 | 764 | | |
772 | 765 | | |
| |||
777 | 770 | | |
778 | 771 | | |
779 | 772 | | |
780 | | - | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
781 | 778 | | |
782 | 779 | | |
783 | 780 | | |
| |||
1357 | 1354 | | |
1358 | 1355 | | |
1359 | 1356 | | |
1360 | | - | |
1361 | | - | |
1362 | | - | |
1363 | | - | |
1364 | | - | |
1365 | | - | |
1366 | | - | |
1367 | | - | |
| 1357 | + | |
1368 | 1358 | | |
1369 | 1359 | | |
1370 | 1360 | | |
| |||
1421 | 1411 | | |
1422 | 1412 | | |
1423 | 1413 | | |
1424 | | - | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
1425 | 1419 | | |
1426 | 1420 | | |
1427 | 1421 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
712 | 712 | | |
713 | 713 | | |
714 | 714 | | |
715 | | - | |
716 | | - | |
717 | 715 | | |
718 | 716 | | |
719 | 717 | | |
| |||
722 | 720 | | |
723 | 721 | | |
724 | 722 | | |
725 | | - | |
726 | | - | |
727 | 723 | | |
728 | 724 | | |
729 | 725 | | |
| |||
0 commit comments