Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 3521
b: refs/heads/master
c: 58a0077
h: refs/heads/master
i:
  3519: 2c06ab8
v: v3
  • Loading branch information
Dmitry Torokhov committed May 29, 2005
1 parent 6699d49 commit 419cf3b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 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: 8baf9ed400a0ff7ee21ccd8b2e086aa61c00add5
refs/heads/master: 58a007765bb5f16020e6000ecbdc5bcc6e54a147
20 changes: 0 additions & 20 deletions trunk/drivers/input/keyboard/maple_keyb.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ struct dc_kbd {
struct input_dev dev;
unsigned char new[8];
unsigned char old[8];
int open;
};


Expand Down Expand Up @@ -95,22 +94,6 @@ static void dc_kbd_callback(struct mapleq *mq)
}
}


static int dc_kbd_open(struct input_dev *dev)
{
struct dc_kbd *kbd = dev->private;
kbd->open++;
return 0;
}


static void dc_kbd_close(struct input_dev *dev)
{
struct dc_kbd *kbd = dev->private;
kbd->open--;
}


static int dc_kbd_connect(struct maple_device *dev)
{
int i;
Expand All @@ -133,9 +116,6 @@ static int dc_kbd_connect(struct maple_device *dev)
clear_bit(0, kbd->dev.keybit);

kbd->dev.private = kbd;
kbd->dev.open = dc_kbd_open;
kbd->dev.close = dc_kbd_close;
kbd->dev.event = NULL;

kbd->dev.name = dev->product_name;
kbd->dev.id.bustype = BUS_MAPLE;
Expand Down

0 comments on commit 419cf3b

Please sign in to comment.