Commit 829ba9fe34246f1f5e813b6bf84171d36e776734

Authored by David Härdeman
Committed by Mauro Carvalho Chehab
1 parent 3938e0cfeb

[media] rc-core: fix some leftovers from the renaming patches

Fix some minor comments etc which are leftover from the old naming scheme.

Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

Showing 4 changed files with 11 additions and 11 deletions Side-by-side Diff

drivers/media/rc/ir-raw.c
1   -/* ir-raw-event.c - handle IR Pulse/Space event
  1 +/* ir-raw.c - handle IR pulse/space events
2 2 *
3 3 * Copyright (C) 2010 by Mauro Carvalho Chehab <mchehab@redhat.com>
4 4 *
drivers/media/rc/rc-core-priv.h
... ... @@ -13,8 +13,8 @@
13 13 * GNU General Public License for more details.
14 14 */
15 15  
16   -#ifndef _IR_RAW_EVENT
17   -#define _IR_RAW_EVENT
  16 +#ifndef _RC_CORE_PRIV
  17 +#define _RC_CORE_PRIV
18 18  
19 19 #include <linux/slab.h>
20 20 #include <linux/spinlock.h>
... ... @@ -190,5 +190,5 @@
190 190 #endif
191 191  
192 192  
193   -#endif /* _IR_RAW_EVENT */
  193 +#endif /* _RC_CORE_PRIV */
drivers/media/rc/rc-main.c
1   -/* rc-core.c - handle IR scancode->keycode tables
  1 +/* rc-main.c - Remote Controller core module
2 2 *
3 3 * Copyright (C) 2009-2010 by Mauro Carvalho Chehab <mchehab@redhat.com>
4 4 *
include/media/rc-core.h
... ... @@ -206,12 +206,12 @@
206 206 u32 vbit = 1, value = 0;
207 207  
208 208 do {
209   - if (mask & 1) {
210   - if (data & 1)
211   - value |= vbit;
212   - vbit <<= 1;
213   - }
214   - data >>= 1;
  209 + if (mask & 1) {
  210 + if (data & 1)
  211 + value |= vbit;
  212 + vbit <<= 1;
  213 + }
  214 + data >>= 1;
215 215 } while (mask >>= 1);
216 216  
217 217 return value;