aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/IR/ir-keytable.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-12-11 07:47:42 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-15 21:18:44 -0500
commit38ef6aa884e3fd389f7d444b8dd36c16832e36b4 (patch)
tree760c7f2f9528e7bc19dbb8b5d5384d473c207a73 /drivers/media/IR/ir-keytable.c
parent75543cce0c1f46be495b981d8d3eda0882721d07 (diff)
V4L/DVB (13616): IR: rename ir_input_free as ir_input_unregister
Now, ir_input_free does more than just freeing the keytab. Better to rename it as ir_input_unregister. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/IR/ir-keytable.c')
-rw-r--r--drivers/media/IR/ir-keytable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/IR/ir-keytable.c b/drivers/media/IR/ir-keytable.c
index ddb8a0f8af4d..e9c9bd34af65 100644
--- a/drivers/media/IR/ir-keytable.c
+++ b/drivers/media/IR/ir-keytable.c
@@ -450,7 +450,7 @@ int ir_input_register(struct input_dev *input_dev,
450} 450}
451EXPORT_SYMBOL_GPL(ir_input_register); 451EXPORT_SYMBOL_GPL(ir_input_register);
452 452
453void ir_input_free(struct input_dev *dev) 453void ir_input_unregister(struct input_dev *dev)
454{ 454{
455 struct ir_input_dev *ir_dev = input_get_drvdata(dev); 455 struct ir_input_dev *ir_dev = input_get_drvdata(dev);
456 struct ir_scancode_table *rc_tab = &ir_dev->rc_tab; 456 struct ir_scancode_table *rc_tab = &ir_dev->rc_tab;
@@ -467,7 +467,7 @@ void ir_input_free(struct input_dev *dev)
467 kfree(ir_dev); 467 kfree(ir_dev);
468 input_set_drvdata(dev, NULL); 468 input_set_drvdata(dev, NULL);
469} 469}
470EXPORT_SYMBOL_GPL(ir_input_free); 470EXPORT_SYMBOL_GPL(ir_input_unregister);
471 471
472int ir_core_debug; /* ir_debug level (0,1,2) */ 472int ir_core_debug; /* ir_debug level (0,1,2) */
473EXPORT_SYMBOL_GPL(ir_core_debug); 473EXPORT_SYMBOL_GPL(ir_core_debug);