summaryrefslogtreecommitdiffstats
path: root/drivers/media/IR/ir-functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/IR/ir-functions.c')
-rw-r--r--drivers/media/IR/ir-functions.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/IR/ir-functions.c b/drivers/media/IR/ir-functions.c
index 7401a79..776a136 100644
--- a/drivers/media/IR/ir-functions.c
+++ b/drivers/media/IR/ir-functions.c
@@ -52,15 +52,13 @@ static void ir_input_key_event(struct input_dev *dev, struct ir_input_state *ir)
/* -------------------------------------------------------------------------- */
int ir_input_init(struct input_dev *dev, struct ir_input_state *ir,
- int ir_type, struct ir_scancode_table *ir_codes)
+ int ir_type)
{
ir->ir_type = ir_type;
if (repeat)
set_bit(EV_REP, dev->evbit);
- ir_input_register(dev, ir_codes);
-
return 0;
}
EXPORT_SYMBOL_GPL(ir_input_init);
OpenPOWER on IntegriCloud