diff options
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/power/main.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c index 273a944d4040..03bde7524bc3 100644 --- a/drivers/base/power/main.c +++ b/drivers/base/power/main.c | |||
@@ -778,10 +778,7 @@ EXPORT_SYMBOL_GPL(device_suspend); | |||
778 | 778 | ||
779 | void __suspend_report_result(const char *function, void *fn, int ret) | 779 | void __suspend_report_result(const char *function, void *fn, int ret) |
780 | { | 780 | { |
781 | if (ret) { | 781 | if (ret) |
782 | printk(KERN_ERR "%s(): ", function); | 782 | printk(KERN_ERR "%s(): %pF returns %d\n", function, fn, ret); |
783 | print_fn_descriptor_symbol("%s returns ", fn); | ||
784 | printk("%d\n", ret); | ||
785 | } | ||
786 | } | 783 | } |
787 | EXPORT_SYMBOL_GPL(__suspend_report_result); | 784 | EXPORT_SYMBOL_GPL(__suspend_report_result); |