serial: linflexuart: remove redundant uart type PORT_LINFLEXUART
PATCH v3 1/1 serial: linflexuart: remove redundant uart type PORT_LINFLEXUART
in linflex_config_port() the member variable type will be assigned again. see linflex_connfig_port()
Signed-off-by lizhe <[email protected]>
Acked-by Jiri Slaby <[email protected]>
Acked-by Ilpo Järvinen<[email protected]>
--- drivers/tty/serial/fsl_linflexuart.c | 1 - 1 file changed, 1 deletion(-)
drivers/tty/serial/fsl_linflexuart.c +0 -1
@@ -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 · 1 line
2.17.1
Quoted 7 lines · lizhe
in
linflex_config_port()the member variable type will be assigned again. seelinflex_connfig_port()Signed-off-by lizhe <[email protected]>Acked-by Jiri Slaby <[email protected]>Acked-by Ilpo Järvinen<[email protected]>
Eh, you're not supposed to invent these Acked-by tags yourself. Don't add any tags besides your own unless somebody explicitly gives them to you in a reply!
And the subject was supposed to be (as per Jiri's recommendation):
serial: linflexuart: remove redundant uart type assignment
You also didn't include the history of what was changed in v3.
--
i.