[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>
This commit is contained in:
parent
20d7e3ca1b
commit
528abb9888
1 changed files with 4 additions and 4 deletions
|
@ -289,11 +289,11 @@ struct ati_remote {
|
||||||
|
|
||||||
/* Translation table from hardware messages to input events. */
|
/* Translation table from hardware messages to input events. */
|
||||||
static const struct {
|
static const struct {
|
||||||
short kind;
|
unsigned char kind;
|
||||||
unsigned char data;
|
unsigned char data;
|
||||||
int type;
|
unsigned char type;
|
||||||
unsigned int code;
|
unsigned short code;
|
||||||
int value;
|
signed char value;
|
||||||
} ati_remote_tbl[] = {
|
} ati_remote_tbl[] = {
|
||||||
/* Directional control pad axes */
|
/* Directional control pad axes */
|
||||||
{KIND_ACCEL, 0x70, EV_REL, REL_X, -1}, /* left */
|
{KIND_ACCEL, 0x70, EV_REL, REL_X, -1}, /* left */
|
||||||
|
|
Loading…
Add table
Reference in a new issue