mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
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>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
f35e5231d3
commit
32c3db3d98
@@ -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");
|
||||
|
Reference in New Issue
Block a user