diff options
| author | David Lechner <dlechner@baylibre.com> | 2026-05-24 20:38:38 -0500 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2026-05-31 11:01:49 +0100 |
| commit | 404edaf1e885a7f047f3d2090d29bdf4c5cf77a2 (patch) | |
| tree | 6e0ad75a2b43c30c838eff64fd7a9b5e8eb62419 /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git | |
| parent | f5b317d043cd73aaa806121f763fb2aa93afc7aa (diff) | |
iio: adc: stm32-adc: simplify timestamp channel definition
Use IIO_CHAN_SOFT_TIMESTAMP() to define the timestamp channel instead of
manually filling in the struct iio_chan_spec fields. This makes the code
less verbose and mistake-prone.
Signed-off-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
