summaryrefslogtreecommitdiff
path: root/drivers/iio/adc/ad7291.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2022-05-01 12:34:47 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-05-01 19:01:13 +0100
commiteda75f8238b079a41aa11383bd47dc3297e74cb1 (patch)
tree25f8acf02ec884cc68e2da68a40c670e34c991aa /drivers/iio/adc/ad7291.c
parent046dab28b10e6e1766685653d9a170e4c9b1e5fc (diff)
iio: ti-ads8688: use of_device_id for OF matching
The of_device_id was added to allow module autoloading, but it should be also used to allow driver matching via Devicetree. This also fixes W=1 warning: drivers/iio/adc/ti-ads8688.c:501:34: error: ‘ads8688_of_match’ defined but not used [-Werror=unused-const-variable=] Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20220501103447.111392-2-krzysztof.kozlowski@linaro.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/ad7291.c')
0 files changed, 0 insertions, 0 deletions