diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-05-08 17:38:32 +0700 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-05-11 09:58:45 +0900 |
| commit | bc59728f93499b2c8655b2379df93f1fd92bc7e3 (patch) | |
| tree | ee32f4d28ad48f4adbbc815f663de13c184b7c5b /include/linux/workqueue_api.h | |
| parent | 6f4cf77320ae0a39f251cd0e4398efafac154dfb (diff) | |
ASoC: ti: omap-dmic: Use guard() for mutex locks
Replace open-coded mutex_lock()/mutex_unlock() pairs with guard(mutex)()
and scoped_guard() helpers.
This also simplifies the control flow by removing temporary return
variables and unnecessary goto-based cleanup paths.
No functional change intended.
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Link: https://patch.msgid.link/20260508103837.138142-3-phucduc.bui@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions
