Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75544
b: refs/heads/master
c: 653e91d
h: refs/heads/master
v: v3
  • Loading branch information
Andres Salomon authored and Dmitry Torokhov committed Jan 17, 2008
1 parent d8395eb commit 45644f9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: 746b31a9d4e08240d267069bcf5084eb7e427ad7
refs/heads/master: 653e91d01fa4d39d2ed06a8c2096fef08b00ee7e
7 changes: 6 additions & 1 deletion trunk/drivers/input/mouse/lifebook.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,13 @@ static void lifebook_set_resolution(struct psmouse *psmouse, unsigned int resolu

static void lifebook_disconnect(struct psmouse *psmouse)
{
struct lifebook_data *priv = psmouse->private;

psmouse_reset(psmouse);
kfree(psmouse->private);
if (priv) {
input_unregister_device(priv->dev2);
kfree(priv);
}
psmouse->private = NULL;
}

Expand Down

0 comments on commit 45644f9

Please sign in to comment.