summaryrefslogtreecommitdiffstats
path: root/include/media/rc-core.h
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2010-11-19 20:43:27 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 08:16:54 -0200
commit829ba9fe34246f1f5e813b6bf84171d36e776734 (patch)
treea66b938c4a8db2e3c4687e07b082fcea48202b01 /include/media/rc-core.h
parent3938e0cfeb812e7b66f4e1cb6e34eb2e6864c6a2 (diff)
downloadop-kernel-dev-829ba9fe34246f1f5e813b6bf84171d36e776734.zip
op-kernel-dev-829ba9fe34246f1f5e813b6bf84171d36e776734.tar.gz
[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>
Diffstat (limited to 'include/media/rc-core.h')
-rw-r--r--include/media/rc-core.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/media/rc-core.h b/include/media/rc-core.h
index affb93f..a23c1fc 100644
--- a/include/media/rc-core.h
+++ b/include/media/rc-core.h
@@ -206,12 +206,12 @@ static inline u32 ir_extract_bits(u32 data, u32 mask)
u32 vbit = 1, value = 0;
do {
- if (mask & 1) {
- if (data & 1)
- value |= vbit;
- vbit <<= 1;
- }
- data >>= 1;
+ if (mask & 1) {
+ if (data & 1)
+ value |= vbit;
+ vbit <<= 1;
+ }
+ data >>= 1;
} while (mask >>= 1);
return value;
OpenPOWER on IntegriCloud