Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193525
b: refs/heads/master
c: 5492f6f
h: refs/heads/master
i:
  193523: fdae6e8
v: v3
  • Loading branch information
Dmitry Torokhov committed Apr 21, 2010
1 parent 85a28d3 commit f35f521
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 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: 2ef2ed597669f5e120d0c51c295f00e34b2f0801
refs/heads/master: 5492f6f801c81c9663417cd8e48e759775977c83
12 changes: 5 additions & 7 deletions trunk/drivers/input/tablet/acecad.c
Original file line number Diff line number Diff line change
Expand Up @@ -252,13 +252,11 @@ static void usb_acecad_disconnect(struct usb_interface *intf)
struct usb_acecad *acecad = usb_get_intfdata(intf);

usb_set_intfdata(intf, NULL);
if (acecad) {
usb_kill_urb(acecad->irq);
input_unregister_device(acecad->input);
usb_free_urb(acecad->irq);
usb_buffer_free(interface_to_usbdev(intf), 8, acecad->data, acecad->data_dma);
kfree(acecad);
}

input_unregister_device(acecad->input);
usb_free_urb(acecad->irq);
usb_buffer_free(acecad->usbdev, 8, acecad->data, acecad->data_dma);
kfree(acecad);
}

static struct usb_device_id usb_acecad_id_table [] = {
Expand Down

0 comments on commit f35f521

Please sign in to comment.