diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-24 08:32:26 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-24 08:32:26 -0300 |
commit | 04e2c76f8d845ee90c1e85ee6a170618b22ff933 (patch) | |
tree | dc39e43391782e48e9cc697ccf040cd7e9574509 /v4l_experimental/firesat/firesat-rc.c | |
parent | de2d21cb87c4d4e3124c02d856e632f355f1a002 (diff) | |
download | mediapointer-dvb-s2-04e2c76f8d845ee90c1e85ee6a170618b22ff933.tar.gz mediapointer-dvb-s2-04e2c76f8d845ee90c1e85ee6a170618b22ff933.tar.bz2 |
Whitespace cleanups
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l_experimental/firesat/firesat-rc.c')
-rw-r--r-- | v4l_experimental/firesat/firesat-rc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/v4l_experimental/firesat/firesat-rc.c b/v4l_experimental/firesat/firesat-rc.c index 8cc57573d..702f90f6c 100644 --- a/v4l_experimental/firesat/firesat-rc.c +++ b/v4l_experimental/firesat/firesat-rc.c @@ -49,7 +49,7 @@ int firesat_register_rc(void) { memset(&firesat_idev, 0, sizeof(firesat_idev)); firesat_idev.evbit[0] = BIT(EV_KEY); - + for(index=0;firesat_irtable[index] != 0; index++) set_bit(firesat_irtable[index], firesat_idev.keybit); @@ -65,7 +65,7 @@ int firesat_unregister_rc(void) { int firesat_got_remotecontrolcode(u16 code) { u16 keycode; - + if(code > 0x4500 && code < 0x4520) keycode = firesat_irtable[code - 0x4501]; else if(code > 0x453f && code < 0x4543) @@ -73,7 +73,7 @@ int firesat_got_remotecontrolcode(u16 code) { else { printk("%s: invalid key code 0x%04x\n",__FUNCTION__,code); return -EINVAL; - } + } input_report_key(&firesat_idev, keycode, 1); input_report_key(&firesat_idev, keycode, 0); |