diff options
| author | David Lechner <dlechner@baylibre.com> | 2026-05-24 20:38:37 -0500 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2026-05-31 11:01:49 +0100 |
| commit | f5b317d043cd73aaa806121f763fb2aa93afc7aa (patch) | |
| tree | cf8e8e139e024517da8fad5846c1cb5ea6870e92 /rust | |
| parent | f97661c4c713fa2bdf2649c76b181772e27cf325 (diff) | |
iio: adc: cc10001_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')
0 files changed, 0 insertions, 0 deletions
