Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 528abb98 authored by George Spelvin's avatar George Spelvin Committed by Mauro Carvalho Chehab
Browse files

[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: default avatarGeorge Spelvin <linux@horizon.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 20d7e3ca
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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 */