public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4] serial: linflexuart: remove redundant uart type assignment
@ 2023-01-04 15:24 lizhe
  2023-01-04 15:39 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: lizhe @ 2023-01-04 15:24 UTC (permalink / raw)
  To: gregkh, jirislaby, ilpo.jarvinen; +Cc: linux-serial, linux-kernel, lizhe

in linflex_config_port() the member variable type will be
assigned again. see linflex_connfig_port()

Signed-off-by: lizhe <sensor1010@163.com>
Link: https://lore.kernel.org/all/20230103170948.3777-1-sensor1010@163.com/
---
 drivers/tty/serial/fsl_linflexuart.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/tty/serial/fsl_linflexuart.c b/drivers/tty/serial/fsl_linflexuart.c
index 6fc21b6684e6..34400cc6ac7f 100644
--- a/drivers/tty/serial/fsl_linflexuart.c
+++ b/drivers/tty/serial/fsl_linflexuart.c
@@ -837,7 +837,6 @@ static int linflex_probe(struct platform_device *pdev)
 		return PTR_ERR(sport->membase);
 
 	sport->dev = &pdev->dev;
-	sport->type = PORT_LINFLEXUART;
 	sport->iotype = UPIO_MEM;
 	sport->irq = platform_get_irq(pdev, 0);
 	sport->ops = &linflex_pops;
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-05 11:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-04 15:24 [PATCH v4] serial: linflexuart: remove redundant uart type assignment lizhe
2023-01-04 15:39 ` Greg KH
     [not found]   ` <41a69271.666a.1857d7827c3.Coremail.sensor1010@163.com>
2023-01-04 15:51     ` Greg KH
     [not found]       ` <42d1b3d4.6710.1857dac01d8.Coremail.sensor1010@163.com>
2023-01-05 11:26         ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox