ACPI / PCI: pci_slot: Use more common logging style
authorJoe Perches <joe@perches.com>
Fri, 27 May 2016 16:00:28 +0000 (09:00 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 22 Jun 2016 00:03:26 +0000 (02:03 +0200)
commit2cfd93dd21b0127feae2579d46b7650fbacd2af1
tree5e76ca9b995d8f68bc10e5ac7a2fc593a3b59a9b
parent33688abb2802ff3a230bd2441f765477b94cc89e
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>
drivers/acpi/pci_slot.c