mbox series

[v3,0/2] Some cleanup and fix the missing of_node_put()

Message ID 20241024030442.119506-1-zhangzekun11@huawei.com (mailing list archive)
Headers show
Series Some cleanup and fix the missing of_node_put() | expand

Message

zhangzekun (A) Oct. 24, 2024, 3:04 a.m. UTC
Fix the missing of_node_put() of args.np and use the scoped
of_node_put() to simplify code.

v3:
- Improve the commit message.
- Link to v2:
  https://lore.kernel.org/all/20240926012551.31712-1-zhangzekun11@huawei.com/

v2:
- Add missing brackets in patch [1/2].
- Link to v1:
  https://lore.kernel.org/all/20240822130055.50113-1-zhangzekun11@huawei.com/

Zhang Zekun (2):
  pmdomain: ti-sci: Add missing of_node_put() for args.np
  pmdomain: ti-sci: Use scope based of_node_put() to simplify code.

 drivers/pmdomain/ti/ti_sci_pm_domains.c | 24 ++++++++++--------------
 1 file changed, 10 insertions(+), 14 deletions(-)

Comments

Ulf Hansson Oct. 31, 2024, 10:31 a.m. UTC | #1
On Thu, 24 Oct 2024 at 05:09, Zhang Zekun <zhangzekun11@huawei.com> wrote:
>
> Fix the missing of_node_put() of args.np and use the scoped
> of_node_put() to simplify code.
>
> v3:
> - Improve the commit message.
> - Link to v2:
>   https://lore.kernel.org/all/20240926012551.31712-1-zhangzekun11@huawei.com/
>
> v2:
> - Add missing brackets in patch [1/2].
> - Link to v1:
>   https://lore.kernel.org/all/20240822130055.50113-1-zhangzekun11@huawei.com/
>
> Zhang Zekun (2):
>   pmdomain: ti-sci: Add missing of_node_put() for args.np
>   pmdomain: ti-sci: Use scope based of_node_put() to simplify code.
>
>  drivers/pmdomain/ti/ti_sci_pm_domains.c | 24 ++++++++++--------------
>  1 file changed, 10 insertions(+), 14 deletions(-)
>

Applied for next, thanks!

Kind regards
Uffe