diff options
author | Jakob Hauser <jahau@rocketmail.com> | 2022-08-13 00:54:14 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-08-16 00:30:03 +0300 |
commit | a70f60e5b6b37e8b9f0967235bf89aebd2d9fbb9 (patch) | |
tree | 574d7c0d76e062aff661a9b0eaf20e9d7c073f32 /fs/hostfs | |
parent | 92d9c05ca7324aed6695b53d3ce11b3e1387f470 (diff) | |
download | linux-a70f60e5b6b37e8b9f0967235bf89aebd2d9fbb9.tar.xz |
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 <jahau@rocketmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/57236545107286771d351b95091bf56815d3717d.1660337264.git.jahau@rocketmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'fs/hostfs')
0 files changed, 0 insertions, 0 deletions