diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2017-07-15 09:30:37 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-07-18 13:00:26 -0300 |
commit | ed10b4e0870b446c0e8e089b287be21ccdbcf5d6 (patch) | |
tree | bc342a86b195096dc0435c4584d0c3416437230f /drivers/media/cec | |
parent | 5150418593015d280dab321da1fe3cea4ed3b693 (diff) | |
download | linux-stable-ed10b4e0870b446c0e8e089b287be21ccdbcf5d6.tar.gz linux-stable-ed10b4e0870b446c0e8e089b287be21ccdbcf5d6.tar.bz2 linux-stable-ed10b4e0870b446c0e8e089b287be21ccdbcf5d6.zip |
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>
Diffstat (limited to 'drivers/media/cec')
-rw-r--r-- | drivers/media/cec/cec-core.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/media/cec/cec-core.c b/drivers/media/cec/cec-core.c index 2e5765344d07..52f085ba104a 100644 --- a/drivers/media/cec/cec-core.c +++ b/drivers/media/cec/cec-core.c @@ -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; |