projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2095fc7
)
serial: sh-sci: Use existing local variable in sci_parse_dt()
author
Geert Uytterhoeven
<geert+renesas@glider.be>
Thu, 10 Dec 2015 15:02:17 +0000
(16:02 +0100)
committer
Geert Uytterhoeven
<geert+renesas@glider.be>
Thu, 17 Dec 2015 10:18:15 +0000
(11:18 +0100)
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/tty/serial/sh-sci.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/sh-sci.c
b/drivers/tty/serial/sh-sci.c
index 5ec1a70cd2f49adaa3a2affa0bd7d578d2e5a38b..36077193f11168f062d9339d2415c39b0dd803f4 100644
(file)
--- a/
drivers/tty/serial/sh-sci.c
+++ b/
drivers/tty/serial/sh-sci.c
@@
-2635,7
+2635,7
@@
sci_parse_dt(struct platform_device *pdev, unsigned int *dev_id)
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;