thinkpad_acpi: Convert printks to pr_<level> v2.1
commit1f72e1f3ff0cc4aa01c6edf7ce5634722ab9a198
authorJoe Perches <joe@perches.com>
Sat, 3 Sep 2011 18:49:36 +0000 (3 15:49 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 13 Nov 2011 17:14:00 +0000 (13 15:14 -0200)
tree8ead4c04b7af681babcb2eee4f000175cdd0672b
parentd145670e86aa12d0691a31c5d3781bf9a1cff8dc
thinkpad_acpi: Convert printks to pr_<level> v2.1

Add pr_fmt.
Removed local TPACPI_<level> #defines, convert to pr_<level>.
Neaten dbg_<foo> macros.
Added a few missing newlines to logging messages.
Added static inline str_supported for !CONFIG_THINKPAD_ACPI_DEBUG vdbg_printk
defect reported by Sedat Dilek <sedat.dilek@googlemail.com>.

hmh: add pr_warn and no_printk backports

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/thinkpad_acpi.c