提交 a760576b 编写于 作者: O Olof Johansson

Merge tag 'tee-drv-fix-for-4.15' of...

Merge tag 'tee-drv-fix-for-4.15' of https://git.linaro.org/people/jens.wiklander/linux-tee into fixes

One small fix for optee_driver_init()

* Fixes problem with an invalid call to of_node_put() in
  optee_driver_init()

* tag 'tee-drv-fix-for-4.15' of https://git.linaro.org/people/jens.wiklander/linux-tee:
  optee: fix invalid of_node_put() in optee_driver_init()
Signed-off-by: NOlof Johansson <olof@lixom.net>
...@@ -590,7 +590,6 @@ static int __init optee_driver_init(void) ...@@ -590,7 +590,6 @@ static int __init optee_driver_init(void)
return -ENODEV; return -ENODEV;
np = of_find_matching_node(fw_np, optee_match); np = of_find_matching_node(fw_np, optee_match);
of_node_put(fw_np);
if (!np) if (!np)
return -ENODEV; return -ENODEV;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册