aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/platform/x86/eeepc-laptop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c
index c9febf4b1faa..819c685fe9cf 100644
--- a/drivers/platform/x86/eeepc-laptop.c
+++ b/drivers/platform/x86/eeepc-laptop.c
@@ -1183,7 +1183,7 @@ static int eeepc_hotk_add(struct acpi_device *device)
1183 int result; 1183 int result;
1184 1184
1185 if (!device) 1185 if (!device)
1186 return -EINVAL; 1186 return -EINVAL;
1187 pr_notice(EEEPC_HOTK_NAME "\n"); 1187 pr_notice(EEEPC_HOTK_NAME "\n");
1188 ehotk = kzalloc(sizeof(struct eeepc_hotk), GFP_KERNEL); 1188 ehotk = kzalloc(sizeof(struct eeepc_hotk), GFP_KERNEL);
1189 if (!ehotk) 1189 if (!ehotk)
@@ -1265,7 +1265,7 @@ fail_platform_driver:
1265static int eeepc_hotk_remove(struct acpi_device *device, int type) 1265static int eeepc_hotk_remove(struct acpi_device *device, int type)
1266{ 1266{
1267 if (!device || !acpi_driver_data(device)) 1267 if (!device || !acpi_driver_data(device))
1268 return -EINVAL; 1268 return -EINVAL;
1269 1269
1270 eeepc_backlight_exit(); 1270 eeepc_backlight_exit();
1271 eeepc_rfkill_exit(); 1271 eeepc_rfkill_exit();