diff options
| author | 2026-06-14 15:19:08 +0200 | |
|---|---|---|
| committer | 2026-06-30 00:15:54 +0100 | |
| commit | 1bff00e98c47d3d32c2df0781b14f7660ef58f31 (patch) | |
| tree | 6044269a6c1c0a6adbb0f1212872a2b6f0759272 /scripts/Makefile.thinlto | |
| parent | iio: light: opt3001: localize for loop iterator (diff) | |
iio: light: opt3001: move driver to guard(mutex)() use
Move driver to use guard(mutex)() macro, to facilitate automatic
locking/unlocking of resources. This modernizes the driver and
improves code style.
While at it, remove unnecessary gotos and return variables.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Joshua Crofts <joshua.crofts1@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
