diff options
| author | David Lechner <dlechner@baylibre.com> | 2026-05-24 20:46:52 -0500 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2026-05-31 11:01:49 +0100 |
| commit | 391c3ec1b15e9f5880812cb045f470ac45c8ba8f (patch) | |
| tree | c5574e8d4ee2efa5f599211169f648597038a013 /scripts | |
| parent | 6a0861ce6f725891e8f31971512915a7374a541e (diff) | |
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')
0 files changed, 0 insertions, 0 deletions
