From patchwork Wed Nov 16 14:48:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Gabriel L. Somlo" X-Patchwork-Id: 626040 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5EBE8C43219 for ; Wed, 16 Nov 2022 14:49:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230507AbiKPOtV (ORCPT ); Wed, 16 Nov 2022 09:49:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233335AbiKPOtT (ORCPT ); Wed, 16 Nov 2022 09:49:19 -0500 Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D7FB1839A; Wed, 16 Nov 2022 06:49:18 -0800 (PST) Received: by mail-qt1-x830.google.com with SMTP id h24so10778389qta.9; Wed, 16 Nov 2022 06:49:18 -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=a8l5Of2Om1feIWNCKzQH67SgP3fBhHzdklPrgX75i7Id2LsWRr78OydLo5MG2dNerv aFlGof0i7l0Sv0tPuEDe3VdkvN1qzI87+mz+yfuhotVsQApuJHz1cHTSorBnUVeGy74p lDJOj5v1kzjejl9JsWAN/kBPQEBXvDA4Jigf7hAha+W1laHl2nsDkUwHta4Qphg6qswi KZ6dpaXZjXjPkG9jXwrCQDnnPVeJRpuVosrom6NN9Q3QjNpgChjpMtMPCapbm1pEOcAM gw5ns7q9mZwHzMljLuXY7jL3ryU9Hg/hAIgCcDJVRcS3/lFMU+8/wPzSxCWtcyW+axaw EXFA== 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=e3VZjnIonbe88pBizd9vLriqaq5Wubq4mC8l26O6rQc1NQdgpVpbzXq9JydNGLShJN VXdx8FW5zyKi1MVZTTZyCCysXByJnjQrovAcRwnsvKgGN5zdZcCKsFM/PVAirEeZYIyI IbkmJIFLe8TV8lyAyhVeqzt/IIwTUeCseTqCeMgcUDaa1kzDv0RXfAVffZZWi0cv9cWB /93TmB1qIz/YxqxVjJ72o0G8nSOQP3vitrE8dtIYP7N/yXZvjV6ej4unpb68X0AqHrjI oQUCCOyBZH0LJ8FlHHgwqyH0mQ5VyAp9DfSgtcSUgt/kXl788jftge76upZ+06t9IHxO kr4Q== X-Gm-Message-State: ANoB5pnMpk/AQQDtgs70utxsTGhlkaFFMMPCKX81UqCuZpV2oRyntpjW RpBg5ZzN6EBRoUm5Wy6URpodtA9hEJP5HA== X-Google-Smtp-Source: AA0mqf53ZeXKburKgJDbQhMWEaXf6mHr24jCuB1k7jYMyRgPjxyWbupdeB4Tj46w5baZaj0lTc8TFg== X-Received: by 2002:ac8:6b12:0:b0:39c:c865:2f79 with SMTP id w18-20020ac86b12000000b0039cc8652f79mr21165191qts.360.1668610157026; Wed, 16 Nov 2022 06:49:17 -0800 (PST) Received: from glsvmlin.ini.cmu.edu (GLSVMLIN.INI.CMU.EDU. [128.2.16.9]) by smtp.gmail.com with ESMTPSA id g5-20020ac84805000000b0039a55f78792sm8729624qtq.89.2022.11.16.06.49.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Nov 2022 06:49:16 -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 v4 01/14] serial: liteuart: use KBUILD_MODNAME as driver name Date: Wed, 16 Nov 2022 09:48:55 -0500 Message-Id: <20221116144908.234154-2-gsomlo@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221116144908.234154-1-gsomlo@gmail.com> References: <20221116144908.234154-1-gsomlo@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-serial@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,