summaryrefslogtreecommitdiff
path: root/rust/zerocopy/src/pointer
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2026-05-24 20:38:35 -0500
committerJonathan Cameron <jic23@kernel.org>2026-05-31 11:01:48 +0100
commit98f548bb911908dd2a60073c006ccebf9ce7c60a (patch)
treede93887b22844cb101c03eadb21f4b6fd44caf44 /rust/zerocopy/src/pointer
parentc73b6d7f0b7f2b2279134746cbacbb880222f374 (diff)
iio: adc: dln2-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')
0 files changed, 0 insertions, 0 deletions