Commit d62e7fbe authored by Mathias Kresin's avatar Mathias Kresin Committed by Linus Walleij

pinctrl: falcon: fix syntax error

Add the missing semicolon after of_node_put to get the file compiled.

Fixes: f17d2f54 ("pinctrl: falcon: Add of_node_put() before return")
Cc: stable@vger.kernel.org # v5.4+
Signed-off-by: default avatarMathias Kresin <dev@kresin.me>
Link: https://lore.kernel.org/r/20200305182245.9636-1-dev@kresin.meAcked-by: default avatarThomas Langer <thomas.langer@intel.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent f9837147
......@@ -451,7 +451,7 @@ static int pinctrl_falcon_probe(struct platform_device *pdev)
falcon_info.clk[*bank] = clk_get(&ppdev->dev, NULL);
if (IS_ERR(falcon_info.clk[*bank])) {
dev_err(&ppdev->dev, "failed to get clock\n");
of_node_put(np)
of_node_put(np);
return PTR_ERR(falcon_info.clk[*bank]);
}
falcon_info.membase[*bank] = devm_ioremap_resource(&pdev->dev,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment