Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Sean Young and committed by
Mauro Carvalho Chehab
5817b3d1 15ea2df9

+2 -3
-1
Documentation/media/uapi/rc/lirc-dev-intro.rst
··· 18 18 .. code-block:: none 19 19 20 20 $ dmesg |grep lirc_dev 21 - lirc_dev: IR Remote Control driver registered, major 248 22 21 rc rc0: lirc_dev: driver mceusb registered at minor = 0 23 22 24 23 What you should see for a chardev:
+2 -2
drivers/media/rc/lirc_dev.c
··· 804 804 return retval; 805 805 } 806 806 807 - pr_info("IR Remote Control driver registered, major %d\n", 808 - MAJOR(lirc_base_dev)); 807 + pr_debug("IR Remote Control driver registered, major %d\n", 808 + MAJOR(lirc_base_dev)); 809 809 810 810 return 0; 811 811 }