summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac
diff options
context:
space:
mode:
authorJakob Hauser <jahau@rocketmail.com>2022-08-12 23:54:14 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-08-15 22:30:03 +0100
commita70f60e5b6b37e8b9f0967235bf89aebd2d9fbb9 (patch)
tree574d7c0d76e062aff661a9b0eaf20e9d7c073f32 /drivers/iio/dac
parent92d9c05ca7324aed6695b53d3ce11b3e1387f470 (diff)
downloadlinux-a70f60e5b6b37e8b9f0967235bf89aebd2d9fbb9.tar.bz2
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 'drivers/iio/dac')
0 files changed, 0 insertions, 0 deletions