diff options
| author | 2026-01-28 23:21:50 +0530 | |
|---|---|---|
| committer | 2026-01-29 17:47:56 +0000 | |
| commit | 51eedb3a323ae87872c4cb60cc6abed696b0a822 (patch) | |
| tree | c13e06fba2148156e2dca74ed396f28a04632c9b /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | iio: proximity: rfd77402: Align polling timeout with datasheet (diff) | |
iio: proximity: rfd77402: Use kernel helper for result polling
Replace the manually written polling loop with read_poll_timeout(),
the kernel's standard helper for waiting on hardware status.This
makes the code easier to read.
Move the polling logic into a dedicated helper function, as it will
be reused by future updates.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Shrikant Raskar <raskar.shree97@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
