Re: [PATCH] amba: tegra-ahb: fix device leak on smmu enable

From: Markus Elfring

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


> Make sure to drop the reference taken to the ahb platform device when
> looking up its driver data while enabling the smmu.


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