Commit 32c3db3d authored by Sean Young's avatar Sean Young Committed by Mauro Carvalho Chehab

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

BaseRemoteCtl is not descriptive.
Signed-off-by: default avatarSean Young <sean@mess.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent f35e5231
...@@ -811,8 +811,7 @@ int __init lirc_dev_init(void) ...@@ -811,8 +811,7 @@ int __init lirc_dev_init(void)
return PTR_ERR(lirc_class); return PTR_ERR(lirc_class);
} }
retval = alloc_chrdev_region(&lirc_base_dev, 0, RC_DEV_MAX, retval = alloc_chrdev_region(&lirc_base_dev, 0, RC_DEV_MAX, "lirc");
"BaseRemoteCtl");
if (retval) { if (retval) {
class_destroy(lirc_class); class_destroy(lirc_class);
pr_err("alloc_chrdev_region failed\n"); pr_err("alloc_chrdev_region failed\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment