diff options
| author | Wolfram Sang <[email protected]> | 2024-04-29 13:33:05 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-04-29 21:06:18 +0100 |
| commit | 860e36b7023580068e1857262a7f25a1836fc30b (patch) | |
| tree | 133739285a8a66599d2c88d1e894c3148ed19063 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 4d68b25c642186e14223ea38bbdf2216d7e13519 (diff) | |
iio: adc: exynos_adc: use 'time_left' variable with wait_for_completion_timeout()
There is a confusing pattern in the kernel to use a variable named 'timeout' to
store the result of wait_for_completion_timeout() causing patterns like:
timeout = wait_for_completion_timeout(...)
if (!timeout) return -ETIMEDOUT;
with all kinds of permutations. Use 'time_left' as a variable to make the code
self explaining.
Signed-off-by: Wolfram Sang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions