Commit 92c34511 authored by Gerd Knorr's avatar Gerd Knorr Committed by Linus Torvalds

[PATCH] v4l: IR whitespace cleanup

The patch just removes all trailing whitespaces, there are no actual code
changes.  I've a script to remove them from my sources now, that should kill
those no-op whitespace changes in my patches after merging this initial
cleanup.
Signed-off-by: default avatarGerd Knorr <kraxel@bytesex.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2f254721
/* /*
* $Id: ir-common.c,v 1.4 2004/10/13 10:39:00 kraxel Exp $
*
* some common structs and functions to handle infrared remotes via * some common structs and functions to handle infrared remotes via
* input layer ... * input layer ...
* *
...@@ -100,7 +102,7 @@ IR_KEYTAB_TYPE ir_codes_rc5_tv[IR_KEYTAB_SIZE] = { ...@@ -100,7 +102,7 @@ IR_KEYTAB_TYPE ir_codes_rc5_tv[IR_KEYTAB_SIZE] = {
[ 0x2a ] = KEY_RESERVED, // timed page/channel clck [ 0x2a ] = KEY_RESERVED, // timed page/channel clck
[ 0x2b ] = KEY_RESERVED, // increment (USA) [ 0x2b ] = KEY_RESERVED, // increment (USA)
[ 0x2c ] = KEY_RESERVED, // decrement (USA) [ 0x2c ] = KEY_RESERVED, // decrement (USA)
[ 0x2d ] = KEY_RESERVED, // [ 0x2d ] = KEY_RESERVED, //
[ 0x2f ] = KEY_RESERVED, // PIP shift [ 0x2f ] = KEY_RESERVED, // PIP shift
[ 0x31 ] = KEY_RESERVED, // erase [ 0x31 ] = KEY_RESERVED, // erase
[ 0x34 ] = KEY_RESERVED, // wind [ 0x34 ] = KEY_RESERVED, // wind
...@@ -141,7 +143,7 @@ void ir_input_init(struct input_dev *dev, struct ir_input_state *ir, ...@@ -141,7 +143,7 @@ void ir_input_init(struct input_dev *dev, struct ir_input_state *ir,
int ir_type, IR_KEYTAB_TYPE *ir_codes) int ir_type, IR_KEYTAB_TYPE *ir_codes)
{ {
int i; int i;
ir->ir_type = ir_type; ir->ir_type = ir_type;
if (ir_codes) if (ir_codes)
memcpy(ir->ir_codes, ir_codes, sizeof(ir->ir_codes)); memcpy(ir->ir_codes, ir_codes, sizeof(ir->ir_codes));
...@@ -171,7 +173,7 @@ void ir_input_keydown(struct input_dev *dev, struct ir_input_state *ir, ...@@ -171,7 +173,7 @@ void ir_input_keydown(struct input_dev *dev, struct ir_input_state *ir,
u32 ir_key, u32 ir_raw) u32 ir_key, u32 ir_raw)
{ {
u32 keycode = IR_KEYCODE(ir->ir_codes, ir_key); u32 keycode = IR_KEYCODE(ir->ir_codes, ir_key);
if (ir->keypressed && ir->keycode != keycode) { if (ir->keypressed && ir->keycode != keycode) {
ir->keypressed = 0; ir->keypressed = 0;
ir_input_key_event(dev,ir); ir_input_key_event(dev,ir);
......
/* /*
* $Id: ir-common.h,v 1.6 2004/09/15 16:15:24 kraxel Exp $
*
* some common structs and functions to handle infrared remotes via * some common structs and functions to handle infrared remotes via
* input layer ... * input layer ...
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment