summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGeorge Spelvin <linux@horizon.com>2014-05-11 08:12:55 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-25 23:46:32 -0300
commit528abb9888d8031d60994e5a393631a1f34b3007 (patch)
treebbd61f975e352379277517638a893b9777b7881a /drivers
parent20d7e3ca1be76a13fb4ea22246bb9d0c4c365809 (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')
-rw-r--r--drivers/media/rc/ati_remote.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/rc/ati_remote.c b/drivers/media/rc/ati_remote.c
index 52a5af61025..c768c26b911 100644
--- a/drivers/media/rc/ati_remote.c
+++ b/drivers/media/rc/ati_remote.c
@@ -289,11 +289,11 @@ struct ati_remote {
/* Translation table from hardware messages to input events. */
static const struct {
- short kind;
+ unsigned char kind;
unsigned char data;
- int type;
- unsigned int code;
- int value;
+ unsigned char type;
+ unsigned short code;
+ signed char value;
} ati_remote_tbl[] = {
/* Directional control pad axes */
{KIND_ACCEL, 0x70, EV_REL, REL_X, -1}, /* left */