Message ID | 20221112212125.448824-2-gsomlo@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1432190wru; Sat, 12 Nov 2022 13:22:27 -0800 (PST) X-Google-Smtp-Source: AA0mqf6zdgsRJCHZ8Aqnx4bbGtQTzF27/gf9SQai+aTUvUCU0IDl3MEwk3MFl+VebxaLEC8Bnf2Y X-Received: by 2002:aa7:ccc7:0:b0:458:9925:fb74 with SMTP id y7-20020aa7ccc7000000b004589925fb74mr6505478edt.330.1668288147750; Sat, 12 Nov 2022 13:22:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668288147; cv=none; d=google.com; s=arc-20160816; b=so+HBLpbc+q/MIUJVSoLSvzJ2wiWyDUsFZsiAenZreMF9EliEqzfugh7Ghmb2+NA66 mQdH96adefhluGKamlINZaJT4MOUVMixDE/8VEflaZkrRy3VKtJUcLSOsvaJenf6qp6C fSoA4irQz9VxpPqgVd8KqSDqSlOuOHvU4Wfxm9B/Qj/HULwm+bmCwbnMCJAZBuBQ+CiI zQJGfN/BUcebz7ECn3M0SmFqlc3sVApFdYqzIruyt7/YyPa0Y+x4OwJmRjgDKBN6W2WS 02dH0WqkQquBYB4HL6PKTtoeaDKQlmrVEmlS4PmuQKxUCqOtZ3PIC1t+vaS/4obs4K0V X9Gg== 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=IQFfyExI23+erN827zqnus+ZsfTP6ThOACFwJyPon2s=; b=yEH3csdhJ6ekroIxT61m0hZQdYmHTYKP+yQP+TEYtVhXGnskRIwWdaxv1LXYmLrmTD FnNUlNWUcrj70Kl4PYAM14wtS3lA3hytppgMQS6GpVwN8JhTFUzQUHbZ+HBto6O0OuE5 +e0AY1QQ8U1fO7cogLsx5pNJEJp+t1Vr4Mh8E71t9tqCYprWtSqjbBAWTxAebJjfd2TT lEjg639MeLtFL0OAoZjj5WKknMikX47BNIr6QA58+vg1ZBKbv6OYH1IUzQqnhllxNL6l qFrs5DfQxUqABsH50N12YOLHMzumoALLP5ssYM5AKt/k6impX3+ZeKQxD6W/WROXaFId DOqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UCtUwLwV; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id go14-20020a1709070d8e00b007ae63fe980dsi6271639ejc.931.2022.11.12.13.22.03; Sat, 12 Nov 2022 13:22:27 -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=UCtUwLwV; 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 S235079AbiKLVVi (ORCPT <rfc822;winker.wchi@gmail.com> + 99 others); Sat, 12 Nov 2022 16:21:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235050AbiKLVVe (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 12 Nov 2022 16:21:34 -0500 Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83BB815805; Sat, 12 Nov 2022 13:21:33 -0800 (PST) Received: by mail-qk1-x72e.google.com with SMTP id g10so5333772qkl.6; Sat, 12 Nov 2022 13:21:33 -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=IQFfyExI23+erN827zqnus+ZsfTP6ThOACFwJyPon2s=; b=UCtUwLwVmjQTkvMKmyJiNoDcBXr9dYQHOD9QEoW9/jb3JDLVq81xuclgbQVti+hvhH A6omZZIxoEmUd+vrSCcsIfjfjlhVgV2sj5hc/ZeGSFizKmhwwzDBEPha6gdjYtQDFUgZ KYFQQCsyTJLuOZ3ixLkxCYzsnJN5rrzm+wAqzyXGj98vJKSyP0ISuzl3G2S9G8JNuinw XELTeQDb5/GlzSmIjQMjXpFocijdOmvBS7jFtyHwpFl/PLLSqQLJFbWeyK+xPCND2n/X Yw8tpDdRaL/Kx6Cb9ZUVPZQ2Jtbtlx5nAvIbcApBZ7jPaz8MYcCSbVnZa6JI41ZpOg1S eikg== 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=IQFfyExI23+erN827zqnus+ZsfTP6ThOACFwJyPon2s=; b=d4+iZ61ZdXMH8t9YrXYgAyHMT+9IrBRcYhsrKpvp+AMxstA36UsS9tDZTdPQ7AEwi5 E1X+/Am7TJvtyqrkZzM5WBkowp2SFqBFm5/Byluw/jLZTFtax/Era2eelcko1rdOx7qn 6+Y1f88EEtUWL3jbDqadYjZzo+6iay/fTlfiWaz/Q/0Z/7x8sVD3duc5Ch2CBGo6hMnl rfX7GvPndjhPhmQVCek5itG8S8sR3uLzrAdcZjLnPb6IqBxb8XJHAw+LfNJBwcfHlzTM 3lnMnW1LJDo3qetGPv4cKJYrmQUvW1vHFr8F51jTJWLozTQHLWijgMLG8VWvL1SnHYkY pSmA== X-Gm-Message-State: ANoB5pnWP7RRnj1FIXMhhuQm3/K7vy3aCZFWMo3bJLkYCaeMWJr9KI3l oifXoHYtCXxghcyBX2Oe/B1w7GYcLgYxLg== X-Received: by 2002:a37:54c3:0:b0:6fa:4749:cbe3 with SMTP id i186-20020a3754c3000000b006fa4749cbe3mr6106929qkb.171.1668288092320; Sat, 12 Nov 2022 13:21:32 -0800 (PST) Received: from glsvmlin.ini.cmu.edu (GLSVMLIN.INI.CMU.EDU. [128.2.16.9]) by smtp.gmail.com with ESMTPSA id t8-20020a37ea08000000b006fa313bf185sm3811839qkj.8.2022.11.12.13.21.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Nov 2022 13:21:31 -0800 (PST) From: Gabriel Somlo <gsomlo@gmail.com> 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 Subject: [PATCH v3 01/14] serial: liteuart: use KBUILD_MODNAME as driver name Date: Sat, 12 Nov 2022 16:21:12 -0500 Message-Id: <20221112212125.448824-2-gsomlo@gmail.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221112212125.448824-1-gsomlo@gmail.com> References: <20221112212125.448824-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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749326912934039236?= X-GMAIL-MSGID: =?utf-8?q?1749326912934039236?= |
Series |
serial: liteuart: add IRQ support
|
|
Commit Message
Gabriel L. Somlo
Nov. 12, 2022, 9:21 p.m. UTC
Replace hard-coded instances of "liteuart" with KBUILD_MODNAME.
Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
---
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 4c0604325ee9..32b81bd03d0c 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, @@ -322,7 +322,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, }, }; @@ -368,7 +368,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,