acpidev_free_object_handler
if (ACPI_SUCCESS(AcpiGetData(hdl, acpidev_free_object_handler, &ptr))) {
if (ACPI_FAILURE(AcpiAttachData(hdl, acpidev_free_object_handler,
if (ACPI_SUCCESS(AcpiGetData(hdl, acpidev_free_object_handler, &ptr)) &&
ACPI_SUCCESS(AcpiDetachData(hdl, acpidev_free_object_handler))) {