| .. | .. |
|---|
| 51 | 51 | int ret = 0; |
|---|
| 52 | 52 | |
|---|
| 53 | 53 | trace_suspend_resume(TPS("syscore_suspend"), 0, true); |
|---|
| 54 | | - pr_debug("Checking wakeup interrupts\n"); |
|---|
| 54 | + pm_pr_dbg("Checking wakeup interrupts\n"); |
|---|
| 55 | 55 | |
|---|
| 56 | 56 | /* Return error code if there are any wakeup interrupts pending. */ |
|---|
| 57 | 57 | if (pm_wakeup_pending()) |
|---|
| .. | .. |
|---|
| 62 | 62 | |
|---|
| 63 | 63 | list_for_each_entry_reverse(ops, &syscore_ops_list, node) |
|---|
| 64 | 64 | if (ops->suspend) { |
|---|
| 65 | | - if (initcall_debug) |
|---|
| 66 | | - pr_info("PM: Calling %pF\n", ops->suspend); |
|---|
| 65 | + pm_pr_dbg("Calling %pS\n", ops->suspend); |
|---|
| 67 | 66 | ret = ops->suspend(); |
|---|
| 68 | 67 | if (ret) |
|---|
| 69 | 68 | goto err_out; |
|---|
| 70 | 69 | WARN_ONCE(!irqs_disabled(), |
|---|
| 71 | | - "Interrupts enabled after %pF\n", ops->suspend); |
|---|
| 70 | + "Interrupts enabled after %pS\n", ops->suspend); |
|---|
| 72 | 71 | } |
|---|
| 73 | 72 | |
|---|
| 74 | 73 | trace_suspend_resume(TPS("syscore_suspend"), 0, false); |
|---|
| 75 | 74 | return 0; |
|---|
| 76 | 75 | |
|---|
| 77 | 76 | err_out: |
|---|
| 78 | | - log_suspend_abort_reason("System core suspend callback %pF failed", |
|---|
| 77 | + log_suspend_abort_reason("System core suspend callback %pS failed", |
|---|
| 79 | 78 | ops->suspend); |
|---|
| 80 | 79 | pr_err("PM: System core suspend callback %pF failed.\n", ops->suspend); |
|---|
| 81 | 80 | |
|---|
| .. | .. |
|---|
| 102 | 101 | |
|---|
| 103 | 102 | list_for_each_entry(ops, &syscore_ops_list, node) |
|---|
| 104 | 103 | if (ops->resume) { |
|---|
| 105 | | - if (initcall_debug) |
|---|
| 106 | | - pr_info("PM: Calling %pF\n", ops->resume); |
|---|
| 104 | + pm_pr_dbg("Calling %pS\n", ops->resume); |
|---|
| 107 | 105 | ops->resume(); |
|---|
| 108 | 106 | WARN_ONCE(!irqs_disabled(), |
|---|
| 109 | | - "Interrupts enabled after %pF\n", ops->resume); |
|---|
| 107 | + "Interrupts enabled after %pS\n", ops->resume); |
|---|
| 110 | 108 | } |
|---|
| 111 | 109 | trace_suspend_resume(TPS("syscore_resume"), 0, false); |
|---|
| 112 | 110 | } |
|---|
| .. | .. |
|---|
| 125 | 123 | list_for_each_entry_reverse(ops, &syscore_ops_list, node) |
|---|
| 126 | 124 | if (ops->shutdown) { |
|---|
| 127 | 125 | if (initcall_debug) |
|---|
| 128 | | - pr_info("PM: Calling %pF\n", ops->shutdown); |
|---|
| 126 | + pr_info("PM: Calling %pS\n", ops->shutdown); |
|---|
| 129 | 127 | ops->shutdown(); |
|---|
| 130 | 128 | } |
|---|
| 131 | 129 | |
|---|