aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_xarray.c
diff options
context:
space:
mode:
authorZijun Hu <[email protected]>2024-10-17 15:34:49 +0000
committerAndrew Morton <[email protected]>2025-01-13 04:20:58 +0000
commit1e1857230c4879ae6ec37e1dbcbf6ce6217056b5 (patch)
treea6a0572cda2adbdba190c97215adc4559b259803 /lib/test_xarray.c
parentxarray: extract helper from __xa_{insert,cmpxchg} (diff)
downloadkernel-1e1857230c4879ae6ec37e1dbcbf6ce6217056b5.tar.gz
kernel-1e1857230c4879ae6ec37e1dbcbf6ce6217056b5.zip
kernel/resource: simplify API __devm_release_region() implementation
Simplify __devm_release_region() implementation by dedicated API devres_release() which have below advantages than current __release_region() + devres_destroy(): It is simpler if __devm_release_region() is undoing what __devm_request_region() did, otherwise, it can avoid wrong and undesired __release_region(). Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Zijun Hu <[email protected]> Cc: Andy Shevchenko <[email protected]> Cc: Bjorn Helgaas <[email protected]> Cc: Ilpo Järvinen <[email protected]> Cc: Mika Westerberg <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions