diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-11-17 11:53:11 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-29 05:16:50 -0500 |
commit | ca86674b8a93ea11c4bb6f4dd0113b1adf1fa841 (patch) | |
tree | 1f51d1aafa28121856b033516a00998a632e2864 /drivers/media/video/cx88/cx88-input.c | |
parent | 6bda96447cef24fbf97a798b1ea664224d5fdc25 (diff) |
[media] Rename all public generic RC functions from ir_ to rc_
Those functions are not InfraRed specific. So, rename them to properly
reflect it.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx88/cx88-input.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-input.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/media/video/cx88/cx88-input.c b/drivers/media/video/cx88/cx88-input.c index a73033846fce..cfeba4c08715 100644 --- a/drivers/media/video/cx88/cx88-input.c +++ b/drivers/media/video/cx88/cx88-input.c | |||
@@ -123,26 +123,26 @@ static void cx88_ir_handle_key(struct cx88_IR *ir) | |||
123 | 123 | ||
124 | data = (data << 4) | ((gpio_key & 0xf0) >> 4); | 124 | data = (data << 4) | ((gpio_key & 0xf0) >> 4); |
125 | 125 | ||
126 | ir_keydown(ir->dev, data, 0); | 126 | rc_keydown(ir->dev, data, 0); |
127 | 127 | ||
128 | } else if (ir->mask_keydown) { | 128 | } else if (ir->mask_keydown) { |
129 | /* bit set on keydown */ | 129 | /* bit set on keydown */ |
130 | if (gpio & ir->mask_keydown) | 130 | if (gpio & ir->mask_keydown) |
131 | ir_keydown_notimeout(ir->dev, data, 0); | 131 | rc_keydown_notimeout(ir->dev, data, 0); |
132 | else | 132 | else |
133 | ir_keyup(ir->dev); | 133 | rc_keyup(ir->dev); |
134 | 134 | ||
135 | } else if (ir->mask_keyup) { | 135 | } else if (ir->mask_keyup) { |
136 | /* bit cleared on keydown */ | 136 | /* bit cleared on keydown */ |
137 | if (0 == (gpio & ir->mask_keyup)) | 137 | if (0 == (gpio & ir->mask_keyup)) |
138 | ir_keydown_notimeout(ir->dev, data, 0); | 138 | rc_keydown_notimeout(ir->dev, data, 0); |
139 | else | 139 | else |
140 | ir_keyup(ir->dev); | 140 | rc_keyup(ir->dev); |
141 | 141 | ||
142 | } else { | 142 | } else { |
143 | /* can't distinguish keydown/up :-/ */ | 143 | /* can't distinguish keydown/up :-/ */ |
144 | ir_keydown_notimeout(ir->dev, data, 0); | 144 | rc_keydown_notimeout(ir->dev, data, 0); |
145 | ir_keyup(ir->dev); | 145 | rc_keyup(ir->dev); |
146 | } | 146 | } |
147 | } | 147 | } |
148 | 148 | ||