ACPI: Update PNPID set/free interfaces
authorToshi Kani <toshi.kani@hp.com>
Mon, 4 Mar 2013 21:30:42 +0000 (21:30 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 24 Mar 2013 22:49:38 +0000 (23:49 +0100)
commitc0af41757f406651cdd32de3e915753746c2948a
tree858ef62a6236395d0e77e8ce1a66556c8ba6b950
parentd4e1a692e9e85f9cbee090ea8d6158b133d32157
ACPI: Update PNPID set/free interfaces

This patch introduces acpi_set_pnp_ids() and acpi_free_pnp_ids(),
which are updated from acpi_device_set_id() and acpi_free_ids(),
to setup and free acpi_device_pnp for a given acpi_handle.  They
can be called without acpi_device.

Signed-off-by: Toshi Kani <toshi.kani@hp.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/internal.h
drivers/acpi/power.c
drivers/acpi/scan.c