summaryrefslogtreecommitdiff
path: root/drivers/acpi/dptf/dptf_pch_fivr.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/dptf/dptf_pch_fivr.c')
-rw-r--r--drivers/acpi/dptf/dptf_pch_fivr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/dptf/dptf_pch_fivr.c b/drivers/acpi/dptf/dptf_pch_fivr.c
index 952216c67d58..8d7e555929d3 100644
--- a/drivers/acpi/dptf/dptf_pch_fivr.c
+++ b/drivers/acpi/dptf/dptf_pch_fivr.c
@@ -41,7 +41,7 @@ static int pch_fivr_read(acpi_handle handle, char *method, struct pch_fivr_resp
ret = 0;
release_buffer:
- kfree(buffer.pointer);
+ ACPI_FREE(buffer.pointer);
return ret;
}