From patchwork Fri Oct 13 09:01:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 10003963 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 62411602B3 for ; Fri, 13 Oct 2017 09:32:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5545F27F60 for ; Fri, 13 Oct 2017 09:32:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 49D8728FD2; Fri, 13 Oct 2017 09:32:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C8A6F27F60 for ; Fri, 13 Oct 2017 09:32:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=btbCaLxRGqS+PoMGFdClhcYOmuE+zUC9L0pbChVhpns=; b=Y8/a30Usy/2mafd4lJPKuzxa2r 5vC9JlZtaXp5+KwcmskgLNZItHMQitlqDQgO0RkLtqkb17Ve72hHClM8uGA58UZMzlB3wlTLzfwmb fjSNp61yWxXy7FPwUaVHWilN59pkcyKMVhnidTkkLUSZoqSfh/KszXyTMC0IT3Kl9OzhLGNnYf83U Jv8Vi6jTigPSyG7EMHnpLNE4PCv779IiLCFgu0KgRWkcrkf9v75x1dlLYbXYMLXb3P9uR8feqtpuI 1Z5e8ycqqPtwXAI2LD3iPxABV94Lr4/Eiclk/b0Q/o/mpsh1DOFYTEqU5X8olnudTnDY/tt8KVuN/ 6sO9q1EA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e2wKB-0006t6-Gi; Fri, 13 Oct 2017 09:32:11 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e2wHv-0002T4-Bt for linux-arm-kernel@bombadil.infradead.org; Fri, 13 Oct 2017 09:29:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=IcWg5hq8RPWY7XRhWxXQM+jevL1FiClMbal2HRCADF0=; b=uus+XuGQHdIazw4/ikAT5ar1F HNnR0vYF4N6siT5DdNJQKC3xC4QQuqVJnX0oy2MsWGQvYoxPKPl5MeODmOZZvuL3qWMsykfjjmawJ hMpeFd5vtYmCdkiumG2uCnG9ut+1XE8mZ3+qjaFEx0Y62szQlPvIn1ZsFGfm8HS2JFOia1+JxPqHk LC5zfJTH9D/MuWxR36SnTabBGltBC0fYPi0zRl8OXvE3qSKTkD+8l8hn8KaZVbBHClYRWODVdCewa 941kMTYpHFA/N7jAhxhj8MlFn5kWp8OB1ZXCT5YglW73OVOQ1BmBwSeg767b1Qda3nRRDFmscp2JN gX/C2bi+g==; Received: from mail.free-electrons.com ([62.4.15.54]) by merlin.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e2vrS-0008WL-KS for linux-arm-kernel@lists.infradead.org; Fri, 13 Oct 2017 09:02:34 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id 3D61C2082E; Fri, 13 Oct 2017 11:02:06 +0200 (CEST) Received: from localhost.localdomain (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id C5200207F7; Fri, 13 Oct 2017 11:02:05 +0200 (CEST) From: Miquel Raynal To: Greg Kroah-Hartman , Linus Walleij , Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Jiri Slaby , Catalin Marinas , Will Deacon Subject: [PATCH v2 03/16] serial: mvebu-uart: use driver name when requesting an interrupt Date: Fri, 13 Oct 2017 11:01:47 +0200 Message-Id: <20171013090200.31034-4-miquel.raynal@free-electrons.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171013090200.31034-1-miquel.raynal@free-electrons.com> References: <20171013090200.31034-1-miquel.raynal@free-electrons.com> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Petazzoni , devicetree@vger.kernel.org, Yehuda Yitschak , Antoine Tenart , Nadav Haklai , linux-gpio@vger.kernel.org, linux-serial@vger.kernel.org, Miquel Raynal , Wilson Ding , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Yehuda Yitschak Use the driver name when requesting an interrupt for consistency. Avoids possible confusion with DW8250 driver interrupt names in /proc/interrupts. Signed-off-by: Yehuda Yitschak Signed-off-by: Miquel Raynal Reviewed-by: Gregory CLEMENT --- drivers/tty/serial/mvebu-uart.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/tty/serial/mvebu-uart.c b/drivers/tty/serial/mvebu-uart.c index 45b57c294d13..7e0a3e9fee15 100644 --- a/drivers/tty/serial/mvebu-uart.c +++ b/drivers/tty/serial/mvebu-uart.c @@ -90,6 +90,7 @@ #define MVEBU_NR_UARTS 1 #define MVEBU_UART_TYPE "mvebu-uart" +#define DRIVER_NAME "mvebu_serial" static struct uart_port mvebu_uart_ports[MVEBU_NR_UARTS]; @@ -287,8 +288,8 @@ static int mvebu_uart_startup(struct uart_port *port) udelay(1); writel(CTRL_RX_INT, port->membase + UART_CTRL); - ret = request_irq(port->irq, mvebu_uart_isr, port->irqflags, "serial", - port); + ret = request_irq(port->irq, mvebu_uart_isr, port->irqflags, + DRIVER_NAME, port); if (ret) { dev_err(port->dev, "failed to request irq\n"); return ret; @@ -538,7 +539,7 @@ console_initcall(mvebu_uart_console_init); static struct uart_driver mvebu_uart_driver = { .owner = THIS_MODULE, - .driver_name = "mvebu_serial", + .driver_name = DRIVER_NAME, .dev_name = "ttyMV", .nr = MVEBU_NR_UARTS, #ifdef CONFIG_SERIAL_MVEBU_CONSOLE