]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
mmc: sdhci: Stop advertising the driver in dmesg
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 20 Jan 2026 13:05:50 +0000 (14:05 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 23 Feb 2026 11:06:55 +0000 (12:06 +0100)
As much as we have grown used to seeing this message on
every kernel boot, it does not add any technical value.

Drop all messages from sdhci_drv_init(), and drop the
module_init() and module_exit() calls as well since they
now become empty.

The modules becomes a pure library module, meaning it will
get pulled in by modprobe() when the symbols inside it
are needed, or compiled in if any users are compiled in.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c

index ac7e11f37af71fa5a70eb579fd812227b9347f83..1ff15fa9b042e6b7dcf4bbc7ca54c84ce25ce25d 100644 (file)
@@ -4997,22 +4997,6 @@ EXPORT_SYMBOL_GPL(sdhci_remove_host);
  *                                                                           *
 \*****************************************************************************/
 
-static int __init sdhci_drv_init(void)
-{
-       pr_info(DRIVER_NAME
-               ": Secure Digital Host Controller Interface driver\n");
-       pr_info(DRIVER_NAME ": Copyright(c) Pierre Ossman\n");
-
-       return 0;
-}
-
-static void __exit sdhci_drv_exit(void)
-{
-}
-
-module_init(sdhci_drv_init);
-module_exit(sdhci_drv_exit);
-
 module_param(debug_quirks, uint, 0444);
 module_param(debug_quirks2, uint, 0444);