diff options
author | Sean Young <sean@mess.org> | 2018-02-13 06:11:35 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-02-27 08:15:32 -0500 |
commit | 5817b3d15e67f8a7280e06e0dfb2c7ede5897cd3 (patch) | |
tree | eda24a906760fe07ba4ee61ca477e45ecb671ce5 | |
parent | 15ea2df9143729a2b722d4ca2b52cfa14a819d8e (diff) | |
download | linux-5817b3d15e67f8a7280e06e0dfb2c7ede5897cd3.tar.gz linux-5817b3d15e67f8a7280e06e0dfb2c7ede5897cd3.tar.xz |
media: rc: no need to announce major number
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>
-rw-r--r-- | Documentation/media/uapi/rc/lirc-dev-intro.rst | 1 | ||||
-rw-r--r-- | drivers/media/rc/lirc_dev.c | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/Documentation/media/uapi/rc/lirc-dev-intro.rst b/Documentation/media/uapi/rc/lirc-dev-intro.rst index 3a74fec66d69..698e4f80270e 100644 --- a/Documentation/media/uapi/rc/lirc-dev-intro.rst +++ b/Documentation/media/uapi/rc/lirc-dev-intro.rst @@ -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: diff --git a/drivers/media/rc/lirc_dev.c b/drivers/media/rc/lirc_dev.c index da3b5c095a59..24e9fbb80e81 100644 --- a/drivers/media/rc/lirc_dev.c +++ b/drivers/media/rc/lirc_dev.c @@ -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; } |