diff options
author | David Härdeman <david@hardeman.nu> | 2010-10-29 15:08:07 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-29 05:16:35 -0500 |
commit | 62c6503125389763a74911408d984c5dd09eeb97 (patch) | |
tree | a9b419280d25fca5086d82f8992a1d5843da75f1 /include/media/ir-kbd-i2c.h | |
parent | 2997137be8eba5bf9c07a24d5fda1f4225f9ca7d (diff) |
[media] ir-core: remove remaining users of the ir-functions keyhandlers
This patch removes the remaining usages of the ir_input_nokey() and
ir_input_keydown() functions provided by drivers/media/IR/ir-functions.c
by using the corresponding functionality in ir-core instead.
Signed-off-by: David Härdeman <david@hardeman.nu>
Acked-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/ir-kbd-i2c.h')
-rw-r--r-- | include/media/ir-kbd-i2c.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/media/ir-kbd-i2c.h b/include/media/ir-kbd-i2c.h index 557c676ab7dc..8c37b5ec0cf6 100644 --- a/include/media/ir-kbd-i2c.h +++ b/include/media/ir-kbd-i2c.h | |||
@@ -12,8 +12,7 @@ struct IR_i2c { | |||
12 | 12 | ||
13 | struct i2c_client *c; | 13 | struct i2c_client *c; |
14 | struct input_dev *input; | 14 | struct input_dev *input; |
15 | struct ir_input_state ir; | 15 | |
16 | u64 ir_type; | ||
17 | /* Used to avoid fast repeating */ | 16 | /* Used to avoid fast repeating */ |
18 | unsigned char old; | 17 | unsigned char old; |
19 | 18 | ||
@@ -41,6 +40,7 @@ struct IR_i2c_init_data { | |||
41 | const char *name; | 40 | const char *name; |
42 | u64 type; /* IR_TYPE_RC5, etc */ | 41 | u64 type; /* IR_TYPE_RC5, etc */ |
43 | u32 polling_interval; /* 0 means DEFAULT_POLLING_INTERVAL */ | 42 | u32 polling_interval; /* 0 means DEFAULT_POLLING_INTERVAL */ |
43 | |||
44 | /* | 44 | /* |
45 | * Specify either a function pointer or a value indicating one of | 45 | * Specify either a function pointer or a value indicating one of |
46 | * ir_kbd_i2c's internal get_key functions | 46 | * ir_kbd_i2c's internal get_key functions |