Skip to contentSkip to conversation

serial: linflexuart: remove redundant uart type assignment

PATCH Jiri Slaby 2 participants 2 messages Jan 5, 2023 – Mar 20, 2023 1 message not in the archive TTY layer and serial drivers

lore
Share & tools
lore

Jiri Slaby

author maintainer
#1 lore raw
In reply to a message not in the archive
Quoted 2 lines · LIZHE

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

Please use capitals when you start a sentence. And periods at the ends of them.

Quoted 1 line

No, Lizhe was fine (or use your Chinese name. We support unicode so that would be fine too, as Greg stated).

But you didn't include changelog to your previous v1-v4 patches; as stated by Ilpo.

Quoted 17 lines
---
  drivers/tty/serial/fsl_linflexuart.c | 1 -
  1 file changed, 1 deletion(-)
drivers/tty/serial/fsl_linflexuart.c +0 -1
index 6fc21b6684e6..34400cc6ac7f 100644
@@ -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;
Signature · 2 lines
js
suse labs
#2 lore raw

HI :
My name is Li zhe. i am chinese

Quoted 36 lines · Jiri Slaby
Quoted 2 lines · LIZHE

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

Please use capitals when you start a sentence. And periods at the ends of them.

Quoted 1 line

No, Lizhe was fine (or use your Chinese name. We support unicode so that would be fine too, as Greg stated).

But you didn't include changelog to your previous v1-v4 patches; as stated by Ilpo.

Quoted 17 lines
---
  drivers/tty/serial/fsl_linflexuart.c | 1 -
  1 file changed, 1 deletion(-)
drivers/tty/serial/fsl_linflexuart.c +0 -1
index 6fc21b6684e6..34400cc6ac7f 100644
@@ -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;
Signature · 2 lines
js
suse labs