diff mbox series

media: rc: rename lirc char dev region to "lirc"

Message ID 20200824160439.29588-1-sean@mess.org (mailing list archive)
State New, archived
Headers show
Series media: rc: rename lirc char dev region to "lirc" | expand

Commit Message

Sean Young Aug. 24, 2020, 4:04 p.m. UTC
BaseRemoteCtl is not descriptive.

Signed-off-by: Sean Young <sean@mess.org>
---
 drivers/media/rc/lirc_dev.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/media/rc/lirc_dev.c b/drivers/media/rc/lirc_dev.c
index 583e4f32a0da..bea52a2fae2b 100644
--- a/drivers/media/rc/lirc_dev.c
+++ b/drivers/media/rc/lirc_dev.c
@@ -811,8 +811,7 @@  int __init lirc_dev_init(void)
 		return PTR_ERR(lirc_class);
 	}
 
-	retval = alloc_chrdev_region(&lirc_base_dev, 0, RC_DEV_MAX,
-				     "BaseRemoteCtl");
+	retval = alloc_chrdev_region(&lirc_base_dev, 0, RC_DEV_MAX, "lirc");
 	if (retval) {
 		class_destroy(lirc_class);
 		pr_err("alloc_chrdev_region failed\n");