summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2026-05-25 04:46:52 +0300
committerJonathan Cameron <jic23@kernel.org>2026-05-31 13:01:49 +0300
commit391c3ec1b15e9f5880812cb045f470ac45c8ba8f (patch)
treec5574e8d4ee2efa5f599211169f648597038a013 /scripts/patch-kernel
parent6a0861ce6f725891e8f31971512915a7374a541e (diff)
downloadlinux-391c3ec1b15e9f5880812cb045f470ac45c8ba8f.tar.xz
iio: pressure: cros_ec_baro: 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 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions