summaryrefslogtreecommitdiff
path: root/drivers/platform/surface/surfacepro3_button.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/platform/surface/surfacepro3_button.c')
-rw-r--r--drivers/platform/surface/surfacepro3_button.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/surface/surfacepro3_button.c b/drivers/platform/surface/surfacepro3_button.c
index 28386780177c..9bd39f09c7db 100644
--- a/drivers/platform/surface/surfacepro3_button.c
+++ b/drivers/platform/surface/surfacepro3_button.c
@@ -199,7 +199,7 @@ static int surface_button_add(struct acpi_device *device)
if (!surface_button_check_MSHW0040(device))
return -ENODEV;
- button = kzalloc_obj(struct surface_button, GFP_KERNEL);
+ button = kzalloc_obj(struct surface_button);
if (!button)
return -ENOMEM;