[PATCH v4 0/2] soc: fsl: dpio: Use scope-based resource management in two functions

From: Markus Elfring

Date: Thu Sep 24 2026 - 03:20:38 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 24 Sep 2026 09:09:01 +0200

Some adjustment opportunities were picked up.

Markus Elfring (2):
Use scope-based resource management in dpaa2_io_store_create()
Use scope-based resource management in dpaa2_io_create()


v4:
Christophe Leroy pointed out that Sashiko provided hints for further
development considerations.
https://sashiko.dev/#/patchset/709fefd1-821a-4cd1-8598-b1179a95ce52@xxxxxx
https://lore.kernel.org/kernel-janitors/59f78064-0e0d-4e3e-9ca3-f057e70b44eb@xxxxxxxxxx/


v3:
* Dan Carpenter requested to add an #include directive.
https://lore.kernel.org/kernel-janitors/amdBqQfIsAjxMsqX@stanley.mountain/

* Ioana Ciornei requested to keep variable declarations at the start of
function implementations.
https://lore.kernel.org/kernel-janitors/6woig227u5snmdsrjfuw7gfcf3vk5iwaap4yf7ow6b6s3pba7z@yg4vmdoaak3h/


v2:
Christophe Leroy requested to apply the attribute “__free(kfree)”.
https://lore.kernel.org/kernel-janitors/d95d2f4c-f3cf-44eb-b61b-79ba7891674d@xxxxxxxxxx/


drivers/soc/fsl/dpio/dpio-service.c | 97 +++++++++++++++--------------
1 file changed, 51 insertions(+), 46 deletions(-)

--
2.55.0