ACPI: OSL: Use deferred unmapping in acpi_os_unmap_iomem()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 2 Jul 2020 12:13:46 +0000 (14:13 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 27 Jul 2020 10:29:59 +0000 (12:29 +0200)
commita968fba29733af162d9543b422d035c8869b9298
tree5401859f57dcebb46d90bf618538a21e3d43b2aa
parentf4334efb11a01b37af90e2ad459ee3bb6337211d
ACPI: OSL: Use deferred unmapping in acpi_os_unmap_iomem()

There is no reason (knwon to me) why any of the existing users of
acpi_os_unmap_iomem() would need to wait for the unused memory
mappings left by it to actually go away, so use the deferred
unmapping of ACPI memory introduced previously in that function.

While at it, fold __acpi_os_unmap_iomem() back into
acpi_os_unmap_iomem(), which has become a simple wrapper around it,
and make acpi_os_unmap_memory() call the latter.

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