diff options
| author | Jakob Hauser <[email protected]> | 2022-08-12 23:54:14 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2022-08-15 22:30:03 +0100 |
| commit | a70f60e5b6b37e8b9f0967235bf89aebd2d9fbb9 (patch) | |
| tree | 574d7c0d76e062aff661a9b0eaf20e9d7c073f32 /tools/perf/scripts/python | |
| parent | 92d9c05ca7324aed6695b53d3ce11b3e1387f470 (diff) | |
iio: magnetometer: yas530: Introduce "chip_info" structure
Introduce the "chip_info" structure approach for better variant handling.
The variant to be used is now chosen by the Device Tree (enum "chip_ids"),
not by the chip ID in the register. However, there is a check to make sure
they match (using integer "id_check").
Signed-off-by: Jakob Hauser <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Link: https://lore.kernel.org/r/57236545107286771d351b95091bf56815d3717d.1660337264.git.jahau@rocketmail.com
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions