diff options
author | Shrikanth Hegde <sshegde@linux.ibm.com> | 2025-05-05 13:23:33 +0530 |
---|---|---|
committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2025-06-23 09:57:11 +0530 |
commit | 52d4639d689059857b3d0494928dd5878cbdc395 (patch) | |
tree | 06664fe97abb926f7e2dd5fed7425e23a21f847b /rust/helpers/build_bug.c | |
parent | 8ea7819f6ec5782918e4d15906fa259a371e6bdd (diff) |
powerpc: sysdev: use lock guard for mutex
use guard(mutex) for scope based resource management of mutex
This would make the code simpler and easier to maintain.
More details on lock guards can be found at
https://lore.kernel.org/all/20230612093537.614161713@infradead.org/T/#u
Reviewed-by: Srikar Dronamraju <srikar@linux.ibm.com>
Signed-off-by: Shrikanth Hegde <sshegde@linux.ibm.com>
Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20250505075333.184463-7-sshegde@linux.ibm.com
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions