Browse Source

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: Olof Johansson <olof@lixom.net>
Olof Johansson 7 years ago
parent
commit
a760576b68
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/tee/optee/core.c

+ 0 - 1
drivers/tee/optee/core.c

@@ -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;