mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 22:44:27 +08:00
media: cec: drop senseless message
Especially the '0.10' version number is confusing since CEC_ADAP_G_CAPS returns a completely different version number. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
5150418593
commit
ed10b4e087
@ -388,11 +388,8 @@ EXPORT_SYMBOL_GPL(cec_delete_adapter);
|
||||
*/
|
||||
static int __init cec_devnode_init(void)
|
||||
{
|
||||
int ret;
|
||||
int ret = alloc_chrdev_region(&cec_dev_t, 0, CEC_NUM_DEVICES, CEC_NAME);
|
||||
|
||||
pr_info("Linux cec interface: v0.10\n");
|
||||
ret = alloc_chrdev_region(&cec_dev_t, 0, CEC_NUM_DEVICES,
|
||||
CEC_NAME);
|
||||
if (ret < 0) {
|
||||
pr_warn("cec: unable to allocate major\n");
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user