diff options
author | Sean Young | 2020-08-24 21:10:45 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab | 2020-09-03 16:19:27 +0200 |
commit | 75992a4418b6c51d4da9c99aac7d92ab29148196 (patch) | |
tree | 1f0ec0106bb18b0732269950ae2026703b3fdd29 /drivers/media/rc/rc-main.c | |
parent | 528222d853f9283110f0118dd71d9f0ad686d586 (diff) |
media: rc: rename ir_lirc_* functions to lirc_*
Remove pointless ir_ prefix.
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/rc/rc-main.c')
-rw-r--r-- | drivers/media/rc/rc-main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/rc/rc-main.c b/drivers/media/rc/rc-main.c index 7b53066d9d07..3f9a4f1ddc79 100644 --- a/drivers/media/rc/rc-main.c +++ b/drivers/media/rc/rc-main.c @@ -747,7 +747,7 @@ void rc_repeat(struct rc_dev *dev) }; if (dev->allowed_protocols != RC_PROTO_BIT_CEC) - ir_lirc_scancode_event(dev, &sc); + lirc_scancode_event(dev, &sc); spin_lock_irqsave(&dev->keylock, flags); @@ -791,7 +791,7 @@ static void ir_do_keydown(struct rc_dev *dev, enum rc_proto protocol, }; if (dev->allowed_protocols != RC_PROTO_BIT_CEC) - ir_lirc_scancode_event(dev, &sc); + lirc_scancode_event(dev, &sc); if (new_event && dev->keypressed) ir_do_keyup(dev, false); @@ -1934,7 +1934,7 @@ int rc_register_device(struct rc_dev *dev) * keycodes with rc_keydown, so lirc must be registered first. */ if (dev->allowed_protocols != RC_PROTO_BIT_CEC) { - rc = ir_lirc_register(dev); + rc = lirc_register(dev); if (rc < 0) goto out_dev; } @@ -1960,7 +1960,7 @@ out_rx: rc_free_rx_device(dev); out_lirc: if (dev->allowed_protocols != RC_PROTO_BIT_CEC) - ir_lirc_unregister(dev); + lirc_unregister(dev); out_dev: device_del(&dev->dev); out_rx_free: @@ -2024,7 +2024,7 @@ void rc_unregister_device(struct rc_dev *dev) * that userspace polling will get notified. */ if (dev->allowed_protocols != RC_PROTO_BIT_CEC) - ir_lirc_unregister(dev); + lirc_unregister(dev); device_del(&dev->dev); |