* [PATCH v2] serial: linflexuart: remove redundant uart type _assignment_
@ 2023-01-03 17:09 lizhe
2023-01-03 18:56 ` Ilpo Järvinen
0 siblings, 1 reply; 2+ messages in thread
From: lizhe @ 2023-01-03 17:09 UTC (permalink / raw)
To: jirislaby, gregkh; +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>
Acked-by: Jiri Slaby <jslaby@suse.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 [flat|nested] 2+ messages in thread
* Re: [PATCH v2] serial: linflexuart: remove redundant uart type _assignment_
2023-01-03 17:09 [PATCH v2] serial: linflexuart: remove redundant uart type _assignment_ lizhe
@ 2023-01-03 18:56 ` Ilpo Järvinen
0 siblings, 0 replies; 2+ messages in thread
From: Ilpo Järvinen @ 2023-01-03 18:56 UTC (permalink / raw)
To: lizhe; +Cc: jirislaby, gregkh, linux-serial, linux-kernel
On Tue, 3 Jan 2023, lizhe wrote:
> in linflex_config_port() the member variable type will be
Rmoeve these extra spaces and start right from the leftmost column.
And don't include the underscores (_) into the shortlog around assignment.
Jiri just used the underscores to highlight for you what he considered
important part to be corrected.
> assigned again. see linflex_connfig_port()
>
> Signed-off-by: lizhe <sensor1010@163.com>
> Acked-by: Jiri Slaby <jslaby@suse.com>
> ---
When sending version xx, please remember to include the list of changes
made per version (they go here below the first --- marker, see mailinglist
archives for format examples if you don't know that alread).
--
i.
> 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;
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-03 18:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-03 17:09 [PATCH v2] serial: linflexuart: remove redundant uart type _assignment_ lizhe
2023-01-03 18:56 ` Ilpo Järvinen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®