This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/media_tree.git tree:

Subject: [media] ati_remote: Shrink ati_remote_tbl structure
Author:  George Spelvin <li...@horizon.com>
Date:    Sun May 11 08:12:55 2014 -0300

The variable types are simply larger than they need to be.
Shrink to signed and unsigned chars.

Signed-off-by: George Spelvin <li...@horizon.com>
Signed-off-by: Mauro Carvalho Chehab <m.che...@samsung.com>

 drivers/media/rc/ati_remote.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

---

http://git.linuxtv.org/media_tree.git?a=commitdiff;h=528abb9888d8031d60994e5a393631a1f34b3007

diff --git a/drivers/media/rc/ati_remote.c b/drivers/media/rc/ati_remote.c
index 52a5af6..c768c26 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 */

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to