backlight: arcxcnn_bl: Drop of_match_ptr for ID table
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 11 Mar 2023 17:35:56 +0000 (18:35 +0100)
committerLee Jones <lee@kernel.org>
Thu, 16 Mar 2023 16:11:42 +0000 (16:11 +0000)
commita884cdf5dc27b489c3e9daf4c095b72e6cc38dae
tree2f9e4c760d5817cd3574357fc68e136c5d1fbdb2
parentc857b87202bf5266b45c5b4dc0308aa603aeb262
backlight: arcxcnn_bl: Drop of_match_ptr for ID table

The driver will match mostly by DT table (even thought there is regular
ID table) so there is little benefit in of_match_ptr (this also allows
ACPI matching via PRP0001, even though it might not be relevant here).

  drivers/video/backlight/arcxcnn_bl.c:378:34: error: ‘arcxcnn_dt_ids’ defined but not used [-Werror=unused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230311173556.263086-2-krzysztof.kozlowski@linaro.org
drivers/video/backlight/arcxcnn_bl.c