diff options
| author | Francesco Lavra <flavra@baylibre.com> | 2025-12-01 11:00:11 +0100 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-12-21 11:10:26 +0000 |
| commit | 212234f7bf8ef93c29a2808bcf60465cc1bfff66 (patch) | |
| tree | 649243334a19dde1c998a6c0972c95630a9b00c4 /tools/perf/scripts/python/bin | |
| parent | 0820dd9f51884828777f68daa30bfacacbceaf36 (diff) | |
| download | linux-212234f7bf8ef93c29a2808bcf60465cc1bfff66.tar.gz linux-212234f7bf8ef93c29a2808bcf60465cc1bfff66.zip | |
iio: imu: st_lsm6dsx: make event_settings more generic
The st_lsm6dsx_event_settings structure contains fields specific for one
event type (wakeup). In preparation for adding support for more event
types, introduce an event id enum and a generic event source structure, and
replace wakeup-specific data in struct st_lsm6dsx_event_settings with an
array of event source structures.
Signed-off-by: Francesco Lavra <flavra@baylibre.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Acked-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
