summaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/ir-lirc-codec.c
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2017-09-26 07:56:39 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-14 10:35:20 -0500
commitbf01c82474bf1f5c07d90a0959a95ff51374cc6f (patch)
tree3e9d145361289e5648028525b797d292a465bc14 /drivers/media/rc/ir-lirc-codec.c
parent111429fb73b1f5f584d977614b87ce9e6f8361c6 (diff)
downloadlinux-bf01c82474bf1f5c07d90a0959a95ff51374cc6f.tar.gz
linux-bf01c82474bf1f5c07d90a0959a95ff51374cc6f.tar.bz2
linux-bf01c82474bf1f5c07d90a0959a95ff51374cc6f.zip
media: lirc: remove name from lirc_dev
This is a duplicate of rcdev->driver_name. Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/rc/ir-lirc-codec.c')
-rw-r--r--drivers/media/rc/ir-lirc-codec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/rc/ir-lirc-codec.c b/drivers/media/rc/ir-lirc-codec.c
index 1e921e4f8839..6435306f385b 100644
--- a/drivers/media/rc/ir-lirc-codec.c
+++ b/drivers/media/rc/ir-lirc-codec.c
@@ -546,8 +546,6 @@ int ir_lirc_register(struct rc_dev *dev)
if (!ldev)
return rc;
- snprintf(ldev->name, sizeof(ldev->name), "ir-lirc-codec (%s)",
- dev->driver_name);
ldev->fops = &lirc_fops;
ldev->dev.parent = &dev->dev;
ldev->rdev = dev;