commit | 495bb47c5dfe92bedce92fd5f3a3a0258d72ac36 | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert+renesas@glider.be> | Thu Dec 10 16:02:17 2015 +0100 |
committer | Geert Uytterhoeven <geert+renesas@glider.be> | Thu Dec 17 11:18:15 2015 +0100 |
tree | cd2c93f3b4f6a50d9d7f17e400a84af1173eff8f | |
parent | 2095fc76953aeec2a091d321426daca3534fca12 [diff] [blame] |
serial: sh-sci: Use existing local variable in sci_parse_dt() Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index 5ec1a70..3607719 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c
@@ -2635,7 +2635,7 @@ if (!IS_ENABLED(CONFIG_OF) || !np) return NULL; - match = of_match_node(of_sci_match, pdev->dev.of_node); + match = of_match_node(of_sci_match, np); if (!match) return NULL;