Commit 86ca3b0
ACPI: sysfs: Cleanup message printing
We have pr_fmt() in sysfs.c but we still use pr_err(PREFIX ...) which
is wrong, remove the duplicated PREFIX and also using pr_* to replace
printk to simlify the code.
Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>1 parent 6ecfe60 commit 86ca3b0
1 file changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
362 | | - | |
363 | | - | |
| 362 | + | |
364 | 363 | | |
365 | 364 | | |
366 | 365 | | |
| |||
737 | 736 | | |
738 | 737 | | |
739 | 738 | | |
740 | | - | |
741 | | - | |
| 739 | + | |
742 | 740 | | |
743 | 741 | | |
744 | 742 | | |
| |||
983 | 981 | | |
984 | 982 | | |
985 | 983 | | |
986 | | - | |
| 984 | + | |
987 | 985 | | |
988 | 986 | | |
989 | 987 | | |
| |||
0 commit comments