Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp735914rwb; Fri, 18 Nov 2022 07:36:36 -0800 (PST) X-Google-Smtp-Source: AA0mqf5z3xDQ5GK0lxC7REXRQ6xeo6s8BfZe+SLLfizlXoIGDAjbWRMSHreHR0EsCwORC+X6nelJ X-Received: by 2002:a17:902:f813:b0:187:12cc:d6f1 with SMTP id ix19-20020a170902f81300b0018712ccd6f1mr61033plb.63.1668785796562; Fri, 18 Nov 2022 07:36:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668785796; cv=none; d=google.com; s=arc-20160816; b=aQNTuFlWVZ92WpoU5oPbipmIOV6ZnH5pHDTffdBqWU4DK/En0VlZNhF99MP6MJlNsV cBIaaRadce3hWmeth9XxB0XafPy3wBMW4h3retE8ds9owdFR6S37SH/tkgfRyHnMqwlA SEuFBguxDiFbwWWoVSMn8SEHDthFRHEnpMn8idje5hzHdxD/a5o4SkcKCZrXQ3rCRJnW rhJsZaL9Swd/EaXmVIgj3kxeFFZO5/WvUbCG7KYl/wDHZUHRaP2KbCVgyUinXRQakRyv volz3H1dwz5tBZrVrJ6fUBilQeOZF8ZrTpbqwZkk/8rCRFLntgS5b3vupshwaBMvojPI SSyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=XsrpgSLIetjSSjQsdPnxAm+guc7zGDde8lk1A/5OW7U=; b=JAU15Qt8dODFyZbM3Bi0cEjuBp2f9R6Gn71YCZAfvJknvmqprQtR31GiDxHKOlPuY4 AHPMdh7EAHZB5gHiM8qBrU5yZRpBbOaqrbKl8+RSes4n2TP9+ruuOu3BM65paCrZ5Jaj NdrLX5Ohi0FqzV1fCHJTlKifZI/uUafwjrwiI5UUJRlap4iflDpG1OH3RQINYxQjOFA3 8gPuMtESDSqAq6ujw01v4i6o8A3uvm/BylKEizW3FC3bxfhvJwYQTOZxTaN/BAsnb/3R bNxVxkTTTBsk6LtG1zUbeim7iPiBdEYQG2I/PzQOGEVbXKDqIzaloa2JRAVoq625vks5 X7Kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=JxbL2TO9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y187-20020a638ac4000000b004772bd0bc71si2080760pgd.240.2022.11.18.07.36.25; Fri, 18 Nov 2022 07:36:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=JxbL2TO9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241826AbiKROzb (ORCPT + 91 others); Fri, 18 Nov 2022 09:55:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235254AbiKROzY (ORCPT ); Fri, 18 Nov 2022 09:55:24 -0500 Received: from mail-qv1-xf34.google.com (mail-qv1-xf34.google.com [IPv6:2607:f8b0:4864:20::f34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48FE122B2D; Fri, 18 Nov 2022 06:55:22 -0800 (PST) Received: by mail-qv1-xf34.google.com with SMTP id j6so3456380qvn.12; Fri, 18 Nov 2022 06:55:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=XsrpgSLIetjSSjQsdPnxAm+guc7zGDde8lk1A/5OW7U=; b=JxbL2TO9MYg3jHvTXDWDKZM08/lu66n2AgnhlFtglU5DcxT8ymqJcGGSvjqLdBjl8L Hr0YNz8ivgAMv5S25GF7nZQOtvLm5yBH3YKTpDyZNtrst/pBcddc9CinYVsW6OAug8BL gMjVGZvWWlFhdTkqoyAdbV51oTYLYIJLRocAR1h3lpt0KuCYo4oVLm7bA5pGFvGaw2Oi lBy/AAvoSKP8m1VQeiXo3Byd8YOmM+TUrxqbRnVYBCSDi/SwnSACj5+YTVWhS0ubI2ux ZoTxDq3+eqeGwv/3W+Juq7JSk+eAuSlUXmNp9KggugeOdoGD7Re/rsO7y8BWCinLmR1v FRJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XsrpgSLIetjSSjQsdPnxAm+guc7zGDde8lk1A/5OW7U=; b=zE74yWO2wLTPkAUr0v9Hb4ZVt+oUCrwCyVJHf8JaHa1hSklsOjSsI7wujTuuCzCfOO uqj6C5ZO2h3Gsge0S9nxpOsr1JGgVZ+8a4dqj1BM28Ny0cRnQ+gt4bfIreinn/txFJal 4Z/60C9DbTT09RQ+7rbmOWUjk0Z6qymSmrTWQnwM1euJdp/xEMFEpqjxzpY555YgWqn1 5B1xna/eI6PIyy85Tz416ZXG5Fe7jL+sy/Go1F+ECQ0cl1hd6KuV9WQSm4UZMORSA1v0 bwTQ90O1i4bRh89w10YU0G5KI7N1JussibSD70nDPbnryw43jA71Gf9i70ZDDxdisuyP svnQ== X-Gm-Message-State: ANoB5pngjii2rXFT3x3FwTfePwhVUDwLe5dMSrbLl6zBcSaGv0DBSBR0 sFlSGpKaMPU2LNJG7PAcanDAIoSBRGVZZw== X-Received: by 2002:a0c:e90a:0:b0:4b4:8037:1303 with SMTP id a10-20020a0ce90a000000b004b480371303mr7046931qvo.16.1668783321015; Fri, 18 Nov 2022 06:55:21 -0800 (PST) Received: from glsvmlin.ini.cmu.edu (GLSVMLIN.INI.CMU.EDU. [128.2.16.9]) by smtp.gmail.com with ESMTPSA id m125-20020a378a83000000b006cbc6e1478csm2397269qkd.57.2022.11.18.06.55.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Nov 2022 06:55:20 -0800 (PST) From: Gabriel Somlo To: linux-kernel@vger.kernel.org Cc: linux-serial@vger.kernel.org, gregkh@linuxfoundation.org, jirislaby@kernel.org, kgugala@antmicro.com, mholenko@antmicro.com, joel@jms.id.au, david.abdurachmanov@gmail.com, florent@enjoy-digital.fr, geert@linux-m68k.org, ilpo.jarvinen@linux.intel.com Subject: [PATCH v5 01/14] serial: liteuart: use KBUILD_MODNAME as driver name Date: Fri, 18 Nov 2022 09:54:59 -0500 Message-Id: <20221118145512.509950-2-gsomlo@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221118145512.509950-1-gsomlo@gmail.com> References: <20221118145512.509950-1-gsomlo@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Replace hard-coded instances of "liteuart" with KBUILD_MODNAME. Signed-off-by: Gabriel Somlo --- drivers/tty/serial/liteuart.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/tty/serial/liteuart.c b/drivers/tty/serial/liteuart.c index 062812fe1b09..db898751ffe3 100644 --- a/drivers/tty/serial/liteuart.c +++ b/drivers/tty/serial/liteuart.c @@ -57,7 +57,7 @@ static struct console liteuart_console; static struct uart_driver liteuart_driver = { .owner = THIS_MODULE, - .driver_name = "liteuart", + .driver_name = KBUILD_MODNAME, .dev_name = "ttyLXU", .major = 0, .minor = 0, @@ -321,7 +321,7 @@ static struct platform_driver liteuart_platform_driver = { .probe = liteuart_probe, .remove = liteuart_remove, .driver = { - .name = "liteuart", + .name = KBUILD_MODNAME, .of_match_table = liteuart_of_match, }, }; @@ -367,7 +367,7 @@ static int liteuart_console_setup(struct console *co, char *options) } static struct console liteuart_console = { - .name = "liteuart", + .name = KBUILD_MODNAME, .write = liteuart_console_write, .device = uart_console_device, .setup = liteuart_console_setup, -- 2.38.1