Merge branch 'net-simplified-with-scoped-function'
authorPaolo Abeni <pabeni@redhat.com>
Tue, 3 Sep 2024 10:54:46 +0000 (12:54 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 3 Sep 2024 10:54:47 +0000 (12:54 +0200)
commit4c93b0bc8645a74fb54f89d80faad55ac2b61f6f
tree023c805fbb5d37958d30d702613022e1f5081e37
parentc55f34a7a1c347afc4c7adc5639c9f7b3749a922
parente8ac8974451e6731cd3f4db6a664cc59d73c0d7b
Merge branch 'net-simplified-with-scoped-function'

Jinjie Ruan says:

====================
net: Simplified with scoped function

Simplify with scoped for each OF child loop, as well as dev_err_probe().

Changes in v4:
- Drop the fix patch and __free() patch.
- Rebased on the fix patch has been stripped out.
- Remove the extra parentheses.
- Ensure Signed-off-by: should always be last.
- Add Reviewed-by.
- Update the cover letter commit message.

Changes in v3:
- Sort the variables, longest first, shortest last.
- Add Reviewed-by.

Changes in v2:
- Subject prefix: next -> net-next.
- Split __free() from scoped for each OF child loop clean.
- Fix use of_node_put() instead of __free() for the 5th patch.
====================

Link: https://patch.msgid.link/20240830031325.2406672-1-ruanjinjie@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>