diff options
author | Dmitry Torokhov <dtor_core@ameritech.net> | 2005-09-15 02:01:53 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 09:52:53 -0700 |
commit | b7df3910c1298fee8ed7b9dfd2da74b85df5539c (patch) | |
tree | 1948ee697c23a384dd0be625ebeee13062d73882 /drivers/media/common | |
parent | 76b7cddfd576331761e945a508254abad11039e9 (diff) | |
download | linux-3.10-b7df3910c1298fee8ed7b9dfd2da74b85df5539c.tar.gz linux-3.10-b7df3910c1298fee8ed7b9dfd2da74b85df5539c.tar.bz2 linux-3.10-b7df3910c1298fee8ed7b9dfd2da74b85df5539c.zip |
[PATCH] drivers/media: convert to dynamic input_dev allocation
Input: convert drivers/media to dynamic input_dev allocation
This is required for input_dev sysfs integration
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/media/common')
-rw-r--r-- | drivers/media/common/ir-common.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/common/ir-common.c b/drivers/media/common/ir-common.c index a0e700d7a4a..06f4d4686a6 100644 --- a/drivers/media/common/ir-common.c +++ b/drivers/media/common/ir-common.c @@ -252,7 +252,6 @@ void ir_input_init(struct input_dev *dev, struct ir_input_state *ir, if (ir_codes) memcpy(ir->ir_codes, ir_codes, sizeof(ir->ir_codes)); - init_input_dev(dev); dev->keycode = ir->ir_codes; dev->keycodesize = sizeof(IR_KEYTAB_TYPE); dev->keycodemax = IR_KEYTAB_SIZE; |