diff options
| author | Santosh Mahto <eisantosh95@gmail.com> | 2024-12-12 21:51:04 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-20 16:54:15 +0100 |
| commit | 5d4db9cf4135d82634c7f31aac73081fba3a356e (patch) | |
| tree | 36fdf9b840d28a613ed89ef9d9a0183b0f060502 /tools/lib/python/kdoc/python_version.py | |
| parent | 716eefc88c2f784ef16395d6a3eea8670847bba4 (diff) | |
staging: gpib: Replace semaphore with completion for one-time signaling
Replaced 'down_interruptible()' and 'up()' calls
with 'wait_for_completion_interruptible()' and
'complete()' respectively. The completion API
simplifies the code and adheres to kernel best
practices for synchronization primitive
Signed-off-by: Santosh Mahto <eisantosh95@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/20241212162112.13083-1-eisantosh95@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
