From patchwork Tue Dec 3 12:56:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Klauser X-Patchwork-Id: 847257 Received: from sym2.noone.org (sym.noone.org [178.63.92.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 34EAA1EBFFB for ; Tue, 3 Dec 2024 12:56:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.63.92.236 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733230620; cv=none; b=ssuLg0o2XOdGUgNMCfDw7B88rV2A3Y9fPOmh1TCcVTZyVGeoBMpBePzdTSybQDnK4I+9mf3Y1FRPh+UGrHY5Gpi5FCQuAtbETQamE0VAhiC4/C8Sqbs07Fp62kIVmNfaO5JB6UeKQ3lZYPxWOJi8rrJfdzt7q7kVOU0jfIZ3DGI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733230620; c=relaxed/simple; bh=LJN0lc52yFIRVEqCuqG8eBqB0nyBm0PMkPN91YkKkSA=; h=From:To:Cc:Subject:Date:Message-Id; b=FmqLezsMPA3hUv+8N8QKtBG0KM6XFsCffCFLmn27gSOmEGw1Pp/lwUxgWHqHUF4t2jTZet5P+JvSfa5DQNocwBK7yxS00TVKiwM/1pyKC7CgWb5YZuTNau4qk08O9K6GhyS0iBq7+V8Vs/WEJ2/zip11TKBhjihdZpAzFQE89C8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=distanz.ch; spf=none smtp.mailfrom=sym.noone.org; arc=none smtp.client-ip=178.63.92.236 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=distanz.ch Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=sym.noone.org Received: by sym2.noone.org (Postfix, from userid 1002) id 4Y2gdz1xZCz3j1br; Tue, 3 Dec 2024 13:56:54 +0100 (CET) From: Tobias Klauser To: linux-serial@vger.kernel.org Cc: Greg Kroah-Hartman , Jiri Slaby Subject: [PATCH] serial: altera_jtaguart: Use DRV_NAME to initialize uart_driver.driver_name Date: Tue, 3 Dec 2024 13:56:54 +0100 Message-Id: <20241203125654.29657-1-tklauser@distanz.ch> X-Mailer: git-send-email 2.11.0 Precedence: bulk X-Mailing-List: linux-serial@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Use the DRV_NAME constant instead of the verbatim string. Signed-off-by: Tobias Klauser --- drivers/tty/serial/altera_jtaguart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/altera_jtaguart.c b/drivers/tty/serial/altera_jtaguart.c index b9c3c3bed0c1..9657c3bb8e66 100644 --- a/drivers/tty/serial/altera_jtaguart.c +++ b/drivers/tty/serial/altera_jtaguart.c @@ -365,7 +365,7 @@ OF_EARLYCON_DECLARE(juart, "altr,juart-1.0", altera_jtaguart_earlycon_setup); static struct uart_driver altera_jtaguart_driver = { .owner = THIS_MODULE, - .driver_name = "altera_jtaguart", + .driver_name = DRV_NAME, .dev_name = "ttyJ", .major = ALTERA_JTAGUART_MAJOR, .minor = ALTERA_JTAGUART_MINOR,