diff options
| author | David Lechner <dlechner@baylibre.com> | 2026-05-24 20:38:36 -0500 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2026-05-31 11:01:49 +0100 |
| commit | f97661c4c713fa2bdf2649c76b181772e27cf325 (patch) | |
| tree | 16fffd985239980c32ca1a8f3b2ccc3174e1fd72 /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git | |
| parent | 98f548bb911908dd2a60073c006ccebf9ce7c60a (diff) | |
iio: adc: at91_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
