diff options
| author | Joe Perches <joe@perches.com> | 2016-05-27 09:00:28 -0700 | 
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-06-22 02:03:26 +0200 | 
| commit | 2cfd93dd21b0127feae2579d46b7650fbacd2af1 (patch) | |
| tree | 5e76ca9b995d8f68bc10e5ac7a2fc593a3b59a9b /tools/perf/scripts/python/stat-cpi.py | |
| parent | 33688abb2802ff3a230bd2441f765477b94cc89e (diff) | |
ACPI / PCI: pci_slot: Use more common logging style
Use generic pr_<level> functions with pr_fmt for info and err.
This also reduces object size a trivial bit:
$ size drivers/acpi/pci_slot.o*
   text	   data	    bss	    dec	    hex	filename
    935	    752	      5	   1692	    69c	drivers/acpi/pci_slot.o.new
   1027	    752	      5	   1784	    6f8	drivers/acpi/pci_slot.o.old
Miscellanea:
o Remove unnecessary OOM message as k.alloc functions get a generic
  stack dump on OOM
o Remove unnecessary embedded prefix from a dbg() message
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions
