commit | 1d961f11a108af9f7fbe89cc950a8d16ddbdbb28 | [log] [tgz] |
---|---|---|
author | Shawn Lin <shawn.lin@rock-chips.com> | Mon Feb 01 16:18:40 2016 +0800 |
committer | Heiko Stuebner <heiko@sntech.de> | Tue Feb 02 22:18:31 2016 +0100 |
tree | 43c6bf25f0bfecd8f05aff36d2ec3322d1b3cf96 | |
parent | 8c20b67f2873bffb37cb64b806af0aca0212dae4 [diff] |
soc: rockchip: power-domain: fix err handle while probing If we fail to probe the driver, we should not directly break from the for_each_available_child_of_node since it calls of_node_get while iterating. This patch add of_node_put to fix the unbalanced call pair. Fixes: 7c696693a4f5 ("soc: rockchip: power-domain: Add power domain driver") Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de>