Re: [PATCH 1/2] soc: amlogic: canvas: fix device leak on lookup

From: Markus Elfring

Date: Fri Sep 26 2025 - 15:15:45 EST


> Make sure to drop the reference taken to the canvas platform device when
> looking up its driver data.


How do you think about to increase the application of scope-based resource management?
https://elixir.bootlin.com/linux/v6.17-rc7/source/include/linux/device.h#L1180

Regards,
Markus