Skip to content

Commit 32c3db3

Browse files
seanyoungmchehab
authored andcommitted
media: rc: rename lirc char dev region to "lirc"
BaseRemoteCtl is not descriptive. Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
1 parent f35e523 commit 32c3db3

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎drivers/media/rc/lirc_dev.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -811,8 +811,7 @@ int __init lirc_dev_init(void)
811811
return PTR_ERR(lirc_class);
812812
}
813813

814-
retval = alloc_chrdev_region(&lirc_base_dev, 0, RC_DEV_MAX,
815-
"BaseRemoteCtl");
814+
retval = alloc_chrdev_region(&lirc_base_dev, 0, RC_DEV_MAX, "lirc");
816815
if (retval) {
817816
class_destroy(lirc_class);
818817
pr_err("alloc_chrdev_region failed\n");

0 commit comments

Comments
 (0)