]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
pmdomain: ti-sci: Use scope based of_node_put() to simplify code.
authorZhang Zekun <zhangzekun11@huawei.com>
Thu, 24 Oct 2024 03:04:42 +0000 (11:04 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 31 Oct 2024 10:30:57 +0000 (11:30 +0100)
commit88e98cd5d3b98df245e439345b139745e1174f57
tree755a9f45126c4c2b742bb23303910fabdab8ee77
parentafc2331ef81657493c074592c409dac7c3cb8ccc
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>
drivers/pmdomain/ti/ti_sci_pm_domains.c