diff options
author | Lukas Wunner <lukas@wunner.de> | 2015-11-25 21:19:55 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-12-09 01:30:26 +0100 |
commit | ca9dc8d42b30e2d766b471fe5ecf0c71fd309c8f (patch) | |
tree | e6aab971b8171fcacee6c9e718111b6e7d6c5d90 /drivers/acpi/internal.h | |
parent | ACPI / scan: set status to 0 if _STA failed (diff) | |
download | linux-ca9dc8d42b30e2d766b471fe5ecf0c71fd309c8f.tar.xz linux-ca9dc8d42b30e2d766b471fe5ecf0c71fd309c8f.zip |
ACPI / scan: Fix acpi_bus_id_list bookkeeping
acpi_device_add() allocates and adds an element to acpi_bus_id_list
(or increments the instance count if the device's HID is already
present in the list), but the element is never deleted from the list
nor freed. Fix it.
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/internal.h')
0 files changed, 0 insertions, 0 deletions