ACPI: OSL: Rework acpi_check_resource_conflict()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 9 Feb 2021 14:59:04 +0000 (15:59 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 9 Feb 2021 14:59:04 +0000 (15:59 +0100)
commit505ca2f7770b49d6b27d97de7dc7ff6af109f8fa
tree341ac9b400b844d5fb17485b2bccbe16d93893e2
parentf86b15a1e6541446a4a5f69bcc211348238db97f
ACPI: OSL: Rework acpi_check_resource_conflict()

Rearrange the code in acpi_check_resource_conflict() so as to drop
redundant checks and uneeded local variables from there and modify
the messages printed by that function to be more concise and
hopefully easier to understand.

While at it, replace direct printk() usage with pr_*().

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/osl.c