Searched hist:"9 ee6bc3a035a5882888d6a73a2c13e2f4e65793f" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/iio/proximity/ |
H A D | sx9500.c | diff 9ee6bc3a035a5882888d6a73a2c13e2f4e65793f Sun Mar 12 10:34:29 CDT 2023 Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> iio: proximity: sx9500: Reference ACPI and OF ID data
Always reference acpi_device_id and of_device_id tables, as they is little benefit of conditional compiling and OF table could be used also for ACPI matching via PRP0001. This fixes warning:
drivers/iio/proximity/sx9500.c:1039:34: error: ‘sx9500_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/20230312153429.371702-3-krzysztof.kozlowski@linaro.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
|