summaryrefslogtreecommitdiff
path: root/rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2026-05-24 20:38:39 -0500
committerJonathan Cameron <jic23@kernel.org>2026-05-31 11:01:49 +0100
commitb3405ec8496272d42dcded5633cb547e586bad6e (patch)
tree45fb508a6046c32fb603cb91550fc39c28d9aadf /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
parent404edaf1e885a7f047f3d2090d29bdf4c5cf77a2 (diff)
iio: common: cros_ec_sensors: 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. Also drop obvious comment while we're at it. 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