Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177498
b: refs/heads/master
c: fbe3d89
h: refs/heads/master
v: v3
  • Loading branch information
Alan Jenkins authored and Len Brown committed Dec 9, 2009
1 parent bb870d7 commit de2cdc7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3c0eb510697dbbb53674c72544350624a04ab5b4
refs/heads/master: fbe3d8942e8fd1e947e4d11a3e9e15675a1cac7e
5 changes: 0 additions & 5 deletions trunk/drivers/platform/x86/eeepc-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -1255,8 +1255,6 @@ static int __devinit eeepc_hotk_add(struct acpi_device *device)
struct device *dev;
int result;

if (!device)
return -EINVAL;
pr_notice(EEEPC_HOTK_NAME "\n");
ehotk = kzalloc(sizeof(struct eeepc_hotk), GFP_KERNEL);
if (!ehotk)
Expand Down Expand Up @@ -1343,9 +1341,6 @@ static int __devinit eeepc_hotk_add(struct acpi_device *device)

static int eeepc_hotk_remove(struct acpi_device *device, int type)
{
if (!device || !acpi_driver_data(device))
return -EINVAL;

eeepc_backlight_exit();
eeepc_rfkill_exit();
eeepc_input_exit();
Expand Down

0 comments on commit de2cdc7

Please sign in to comment.