diff options
| author | Lothar Rubusch <l.rubusch@gmail.com> | 2024-04-01 22:49:03 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-04-06 18:18:39 +0300 |
| commit | 41561abc417eb92b38631cb05427fecbfeec19cb (patch) | |
| tree | 1e1bb1cba06cf5387f200b846798a3c6b820799d /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 59307e8f74fb339f5c665fc521466bbf18752bce (diff) | |
| download | linux-41561abc417eb92b38631cb05427fecbfeec19cb.tar.xz | |
iio: accel: adxl345: Pass function pointer to core
Provide a way for bus specific pre-configuration by adding a function
pointer argument to the driver core's probe() function, and keep
the driver core implementation bus independent.
In case NULL was passed, a regmap_write() shall initialize all bits of
the data_format register, else regmap_update() is used. In this way
spi and i2c are covered.
Signed-off-by: Lothar Rubusch <l.rubusch@gmail.com>
Link: https://lore.kernel.org/r/20240401194906.56810-6-l.rubusch@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
