Commit b46d155
dmaengine: sh: usb-dmac: Convert to NOIRQ_SYSTEM_SLEEP/RUNTIME_PM_OPS()
Convert the Renesas USB-DMA Controller driver from
SET_NOIRQ_SYSTEM_SLEEP_PM_OPS() and SET_RUNTIME_PM_OPS() to
NOIRQ_SYSTEM_SLEEP_PM_OPS(), RUNTIME_PM_OPS(), and pm_ptr(). This lets
us drop the check for CONFIG_PM, and reduces kernel size in case
CONFIG_PM is disabled, while increasing build coverage.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Vinod Koul <vkoul@kernel.org>1 parent 3a86608 commit b46d155
1 file changed
Lines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
670 | 670 | | |
671 | 671 | | |
672 | 672 | | |
673 | | - | |
674 | 673 | | |
675 | 674 | | |
676 | 675 | | |
| |||
691 | 690 | | |
692 | 691 | | |
693 | 692 | | |
694 | | - | |
695 | 693 | | |
696 | 694 | | |
697 | | - | |
698 | | - | |
699 | | - | |
700 | | - | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
701 | 698 | | |
702 | 699 | | |
703 | 700 | | |
| |||
894 | 891 | | |
895 | 892 | | |
896 | 893 | | |
897 | | - | |
| 894 | + | |
898 | 895 | | |
899 | 896 | | |
900 | 897 | | |
| |||
0 commit comments