diff options
| author | Mukesh Ojha <mukesh.ojha@oss.qualcomm.com> | 2026-09-03 01:17:12 +0530 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-14 19:52:46 +0100 |
| commit | e88fd9fe81d729992e270c055bf108a48ec52dea (patch) | |
| tree | f196120fc4fdbe9cc7f986b2d1462667225fbfe6 /tools/perf/scripts/python/netdev-times.py | |
| parent | 3531143e9cecf9728bf93a94eef0622ad2fbce53 (diff) | |
ASoC: sprd: Use devm_of_reserved_mem_device_init()
Use the devres-managed devm_of_reserved_mem_device_init() to ensure
the reserved memory region is released on device removal, fixing a
missing cleanup — the driver has no remove function. Also drop the
now-unused local variable np.
Signed-off-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patch.msgid.link/20260902194712.2003414-13-mukesh.ojha@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
