]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
media: rc: rename lirc char dev region to "lirc"
authorSean Young <sean@mess.org>
Sun, 23 Aug 2020 12:32:41 +0000 (14:32 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 3 Sep 2020 14:15:18 +0000 (16:15 +0200)
BaseRemoteCtl is not descriptive.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/rc/lirc_dev.c

index 583e4f32a0da83d0ba12c34406dda3660a2c397a..bea52a2fae2b7db9c39feb44581e6d5a5c85e519 100644 (file)
@@ -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");