“4605ab653c1f9d7cc2dda8033de215c9cee325f4”上不存在“git@gitcode.net:openanolis/cloud-kernel.git”
提交 495bb47c 编写于 作者: G Geert Uytterhoeven

serial: sh-sci: Use existing local variable in sci_parse_dt()

Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be>
上级 2095fc76
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册