media: rc: no need to announce major number
authorSean Young <sean@mess.org>
Tue, 13 Feb 2018 11:11:35 +0000 (06:11 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 27 Feb 2018 13:15:32 +0000 (08:15 -0500)
Since commit a60d64b15c20 ("media: lirc: lirc interface should not be
a raw decoder"), the message in the documentation is incorrect as the
module name is rc_core, not lirc_dev. Since the message is not useful,
just make the message debug and remove it from the documentation.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Documentation/media/uapi/rc/lirc-dev-intro.rst
drivers/media/rc/lirc_dev.c

index 3a74fec66d69fbad6a987ac9b9d30c23c5d3fec6..698e4f80270e67cf90d7d7a9a3aed0bf12d14f3b 100644 (file)
@@ -18,7 +18,6 @@ Example dmesg output upon a driver registering w/LIRC:
 .. code-block:: none
 
     $ dmesg |grep lirc_dev
-    lirc_dev: IR Remote Control driver registered, major 248
     rc rc0: lirc_dev: driver mceusb registered at minor = 0
 
 What you should see for a chardev:
index da3b5c095a590079d2e8ba027360d517832e2b36..24e9fbb80e814e45091421d8dfe565806fc1b09f 100644 (file)
@@ -804,8 +804,8 @@ int __init lirc_dev_init(void)
                return retval;
        }
 
-       pr_info("IR Remote Control driver registered, major %d\n",
-                                               MAJOR(lirc_base_dev));
+       pr_debug("IR Remote Control driver registered, major %d\n",
+                MAJOR(lirc_base_dev));
 
        return 0;
 }