diff options
| author | Jakob Hauser <[email protected]> | 2022-08-13 00:05:02 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2022-08-15 22:30:04 +0100 |
| commit | 059ff0f9a10508c39f2c22d4144e88156bbf86ef (patch) | |
| tree | 93cf767c11e2e112a0c4536d66bff796db53a7eb /tools/perf/scripts/python/flamegraph.py | |
| parent | 2d6676ecbe6a39fb1e002b89781e4158e77a784e (diff) | |
iio: magnetometer: yas530: Add function pointers to "chip_info"
Add function pointers to the "chip_info" structure to ease the handling of
different YAS variants.
In the function yas5xx_probe(), the function call for "measure_offsets" was
added as a conditional "if (ci->measure_offsets)". This is a preparatory step
for YAS537, as this variant doesn't need an offset measurement.
Signed-off-by: Jakob Hauser <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Link: https://lore.kernel.org/r/4bd3f96262e0132b7f9720521a801da3c18abd95.1660337264.git.jahau@rocketmail.com
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions