summaryrefslogtreecommitdiff
path: root/rust
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2026-05-24 20:38:37 -0500
committerJonathan Cameron <jic23@kernel.org>2026-05-31 11:01:49 +0100
commitf5b317d043cd73aaa806121f763fb2aa93afc7aa (patch)
treecf8e8e139e024517da8fad5846c1cb5ea6870e92 /rust
parentf97661c4c713fa2bdf2649c76b181772e27cf325 (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