summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJarod Wilson <jarod@redhat.com>2010-06-16 17:08:32 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-08-02 14:55:40 -0300
commitbd3881b1cedbe6733097bd87da069bd174cc7052 (patch)
tree0e426fc4770f33163a668572adf5afa959a79224
parent8a3fa8129cd90a05b1a79d949e57dcd194520174 (diff)
V4L/DVB: IR/mceusb: use the proper ir-core device unregister function
Was using input_unregister_device directly, instead of using ir_input_unregister, which tears down a bunch of other things in addition to eventually calling input_unregister_device. Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/IR/mceusb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/IR/mceusb.c b/drivers/media/IR/mceusb.c
index fe150911a1c..c9dd2f84385 100644
--- a/drivers/media/IR/mceusb.c
+++ b/drivers/media/IR/mceusb.c
@@ -1021,7 +1021,7 @@ static void __devexit mceusb_dev_disconnect(struct usb_interface *intf)
return;
ir->usbdev = NULL;
- input_unregister_device(ir->idev);
+ ir_input_unregister(ir->idev);
usb_kill_urb(ir->urb_in);
usb_free_urb(ir->urb_in);
usb_free_coherent(dev, ir->len_in, ir->buf_in, ir->dma_in);