diff options
| author | 2026-06-04 00:18:57 +0530 | |
|---|---|---|
| committer | 2026-06-30 00:15:53 +0100 | |
| commit | fc737af15882f72224c70d5f5922f2fd8c2aea70 (patch) | |
| tree | f1d1a1ba0166907c87c680be368b2e74d0636ca1 /scripts/Makefile.thinlto | |
| parent | iio: adc: hx711: split variable assignments in hx711_read and hx711_reset (diff) | |
iio: adc: hx711: localize loop iterators in hx711_read
Tighten the scope of the loop variables in hx711_read() now that
trailing-pulse selection is already handled by the callers.
Also replace the 24-bit loop bound with a named constant while touching
the same code.
Suggested-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Piyush Patle <piyushpatle228@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
