iio: proximity: sx9500: Reference ACPI and OF ID data
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 12 Mar 2023 15:34:29 +0000 (16:34 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 12 Mar 2023 16:18:41 +0000 (16:18 +0000)
commit9ee6bc3a035a5882888d6a73a2c13e2f4e65793f
treef9da412ccc5cc2fb5bf38d0b1147d155863e31ba
parentb29c49026c3c05a11f845dba17cad0b3ba06836d
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>
drivers/iio/proximity/sx9500.c