diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-02-25 23:16:54 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-02-28 22:26:38 +0300 |
commit | 051db7ee60f43816da48ec61ce5cbf82112dd62d (patch) | |
tree | 69fd4cf2b94ef7d8d2dffb19c9ea9189e4fdab3e /Documentation/images | |
parent | cc8a587a7cdc91332dac3e435d437e17af82137e (diff) | |
download | linux-051db7ee60f43816da48ec61ce5cbf82112dd62d.tar.xz |
iio: proximity: isl29501: make use of of_device_id table
Reference the of_device_id table in the driver structure, so it will be
used for module autoloading and device matching. This fixes clang W=1
warning:
isl29501.c:999:34: error: unused variable 'isl29501_i2c_matches' [-Werror,-Wunused-const-variable]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240225201654.49450-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/images')
0 files changed, 0 insertions, 0 deletions