diff options
author | George Spelvin <linux@horizon.com> | 2014-05-11 07:12:55 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-25 22:46:32 -0400 |
commit | 528abb9888d8031d60994e5a393631a1f34b3007 (patch) | |
tree | bbd61f975e352379277517638a893b9777b7881a /drivers/media/rc | |
parent | 20d7e3ca1be76a13fb4ea22246bb9d0c4c365809 (diff) |
[media] ati_remote: Shrink ati_remote_tbl structure
The variable types are simply larger than they need to be.
Shrink to signed and unsigned chars.
Signed-off-by: George Spelvin <linux@horizon.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/rc')
-rw-r--r-- | drivers/media/rc/ati_remote.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/rc/ati_remote.c b/drivers/media/rc/ati_remote.c index 52a5af610259..c768c26b911f 100644 --- a/drivers/media/rc/ati_remote.c +++ b/drivers/media/rc/ati_remote.c | |||
@@ -289,11 +289,11 @@ struct ati_remote { | |||
289 | 289 | ||
290 | /* Translation table from hardware messages to input events. */ | 290 | /* Translation table from hardware messages to input events. */ |
291 | static const struct { | 291 | static const struct { |
292 | short kind; | 292 | unsigned char kind; |
293 | unsigned char data; | 293 | unsigned char data; |
294 | int type; | 294 | unsigned char type; |
295 | unsigned int code; | 295 | unsigned short code; |
296 | int value; | 296 | signed char value; |
297 | } ati_remote_tbl[] = { | 297 | } ati_remote_tbl[] = { |
298 | /* Directional control pad axes */ | 298 | /* Directional control pad axes */ |
299 | {KIND_ACCEL, 0x70, EV_REL, REL_X, -1}, /* left */ | 299 | {KIND_ACCEL, 0x70, EV_REL, REL_X, -1}, /* left */ |