aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/container.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/container.c')
-rw-r--r--drivers/acpi/container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/container.c b/drivers/acpi/container.c
index 871aa520ece7..a15381789462 100644
--- a/drivers/acpi/container.c
+++ b/drivers/acpi/container.c
@@ -117,7 +117,7 @@ static int acpi_container_remove(struct acpi_device *device, int type)
117 acpi_status status = AE_OK; 117 acpi_status status = AE_OK;
118 struct acpi_container *pc = NULL; 118 struct acpi_container *pc = NULL;
119 119
120 pc = (struct acpi_container *)acpi_driver_data(device); 120 pc = acpi_driver_data(device);
121 kfree(pc); 121 kfree(pc);
122 return status; 122 return status;
123} 123}