Re: [PATCH] drm: sti: fix device leaks at component probe

Markus Elfring
2025-09-22T16:17:04Z

> Make sure to drop the references taken to the vtg devices by

VTG device?

> of_find_device_by_node() when looking up their driver data during
> component probe.
…

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

Can a summary phrase like “Prevent device leak in of_vtg_find()” be nicer?

Regards,
Markus