From: Peng Fan <peng.fan@nxp.com>
To: "gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
"jslaby@suse.com" <jslaby@suse.com>
Cc: "linux-serial@vger.kernel.org" <linux-serial@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
dl-linux-imx <linux-imx@nxp.com>, Alice Guo <alice.guo@nxp.com>,
Peng Fan <peng.fan@nxp.com>
Subject: [PATCH 1/3] tty: serial: fsl_lpuart: drop EARLYCON_DECLARE
Date: Wed, 18 Dec 2019 02:56:46 +0000 [thread overview]
Message-ID: <1576637626-19317-2-git-send-email-peng.fan@nxp.com> (raw)
In-Reply-To: <1576637626-19317-1-git-send-email-peng.fan@nxp.com>
From: Peng Fan <peng.fan@nxp.com>
EARLYCON_DECLARE is just a wrapper of OF_EARLYCON_DECLARE,
since we already have OF_EARLYCON_DECLARE for lpuart and lpuart32,
so no need EARLYCON_DECLARE.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
drivers/tty/serial/fsl_lpuart.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c
index 4e128d19e0ad..54c7735406f8 100644
--- a/drivers/tty/serial/fsl_lpuart.c
+++ b/drivers/tty/serial/fsl_lpuart.c
@@ -2397,8 +2397,6 @@ OF_EARLYCON_DECLARE(lpuart, "fsl,vf610-lpuart", lpuart_early_console_setup);
OF_EARLYCON_DECLARE(lpuart32, "fsl,ls1021a-lpuart", lpuart32_early_console_setup);
OF_EARLYCON_DECLARE(lpuart32, "fsl,imx7ulp-lpuart", lpuart32_imx_early_console_setup);
OF_EARLYCON_DECLARE(lpuart32, "fsl,imx8qxp-lpuart", lpuart32_imx_early_console_setup);
-EARLYCON_DECLARE(lpuart, lpuart_early_console_setup);
-EARLYCON_DECLARE(lpuart32, lpuart32_early_console_setup);
#define LPUART_CONSOLE (&lpuart_console)
#define LPUART32_CONSOLE (&lpuart32_console)
--
2.16.4
next prev parent reply other threads:[~2019-12-18 2:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-18 2:56 [PATCH 0/3] tty: serial: lpuart: cleanup and improve for earlycon Peng Fan
2019-12-18 2:56 ` Peng Fan [this message]
2019-12-18 2:56 ` [PATCH 2/3] tty: serial: fsl_lpuart: support UPIO_MEM32 for lpuart32 Peng Fan
2019-12-18 2:56 ` [PATCH 2/3] tty: serial: lpuart: " Peng Fan
2019-12-18 12:26 ` Peng Fan
2019-12-19 16:43 ` gregkh
2019-12-18 2:56 ` [PATCH 3/3] tty: serial: fsl_lpuart: drop earlycon entry for i.MX8QXP Peng Fan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1576637626-19317-2-git-send-email-peng.fan@nxp.com \
--to=peng.fan@nxp.com \
--cc=alice.guo@nxp.com \
--cc=gregkh@linuxfoundation.org \
--cc=jslaby@suse.com \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).