aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorZhang Zekun <zhangzekun11@huawei.com>2024-10-24 11:04:42 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2024-10-31 11:30:57 +0100
commit88e98cd5d3b98df245e439345b139745e1174f57 (patch)
tree755a9f45126c4c2b742bb23303910fabdab8ee77 /rust/helpers/task.c
parentafc2331ef81657493c074592c409dac7c3cb8ccc (diff)
downloadlinux-88e98cd5d3b98df245e439345b139745e1174f57.tar.gz
linux-88e98cd5d3b98df245e439345b139745e1174f57.tar.bz2
linux-88e98cd5d3b98df245e439345b139745e1174f57.zip
pmdomain: ti-sci: Use scope based of_node_put() to simplify code.
Use scope based of_node_put() to simplify the code logic, and we don't need to call of_node_put(). Besides, put of_parse_phandle_with_args() in the while loop to make code more simple. Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com> Reviewed-by: Dhruva Gole <d-gole@ti.com> Message-ID: <20241024030442.119506-3-zhangzekun11@huawei.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions