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:40 -0500
committerJonathan Cameron <jic23@kernel.org>2026-05-31 11:01:49 +0100
commit6a0861ce6f725891e8f31971512915a7374a541e (patch)
tree79f754826ca0f64760721f45ae4219fb09ac7091 /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
parentb3405ec8496272d42dcded5633cb547e586bad6e (diff)
iio: light: cros_ec_light_prox: 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