diff options
| author | Lothar Rubusch <[email protected]> | 2024-04-01 19:49:03 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-04-06 16:18:39 +0100 |
| commit | 41561abc417eb92b38631cb05427fecbfeec19cb (patch) | |
| tree | 1e1bb1cba06cf5387f200b846798a3c6b820799d /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 59307e8f74fb339f5c665fc521466bbf18752bce (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions