One small fix for optee_driver_init()

* Fixes problem with an invalid call to of_node_put() in
   optee_driver_init()
 -----BEGIN PGP SIGNATURE-----
 
 iQI3BAABCgAhBQJaHn2JGhxqZW5zLndpa2xhbmRlckBsaW5hcm8ub3JnAAoJELWw
 uEGXj+zTYLAP/RJ85huwB6ktO6swPCy2G2brV+U36cPzURs2+mLb1TaGzofK/FjX
 pgv/KZeJqkmW0yPdhNebPX50QG/CKpZXrVyfxfBtBcte5X994atT7JfgmUl8F58r
 iDbzZEZug1SLP8Kv3KzF/HyAzwa2GtLi36VmblZCwM62oEbfahJ6PjH3FniN50Xe
 SVGMBVD1RsshzRUTjEPFh3azH6GJtjn3ilcNylSYPphZBzr/9Tj/e7flf8kGAict
 xrZHAJMn9GyKwGru5/xQIe8ju0Q160VptLLp42WCCu/X/V4Ci8v6xLNf5Iy20ya+
 KCcF/NJAwyu9o99LdKIbqyDdEMDrGm1KdRwtiVJW9HgnNwer6c1n+RTa/0Mviys6
 JJ1L6FSZkneF1Ef/9OvnXTLtUuWtydgHMddq5IfF/51L0wykHyN7tJG80yMJYHbs
 tC7fW81mkN0U4L7ClbI9C3RQiwDmZb4YA/RHgbaPWV2JX9URdAYIDVXkUzLqjD8p
 8NCzbQkPHMA5GmcvcrjW4C8e6OcIoyQN2en3jkP5F+Uv0S31LuKTAKTyQPmnhqtD
 ze+Z9UGyupjWTa1TfJMpHum69GeVKvXbpO2OvmOJkyE0IfW6+cs+EttEoADW4Brf
 bhNjmK+0FkPpx2xqT7Th6dzD37aKZQivD2XfZsZqfD3ZmF6OPZAC00Rs
 =ZnSP
 -----END PGP SIGNATURE-----

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>
This commit is contained in:
Olof Johansson 2017-12-02 16:59:09 -08:00
commit a760576b68
1 changed files with 0 additions and 1 deletions

View File

@ -590,7 +590,6 @@ static int __init optee_driver_init(void)
return -ENODEV;
np = of_find_matching_node(fw_np, optee_match);
of_node_put(fw_np);
if (!np)
return -ENODEV;