[PATCH 2/2] backlight: arcxcnn_bl: drop of_match_ptr for ID table

Daniel Thompson daniel.thompson at linaro.org
Mon Mar 13 10:14:44 UTC 2023


On Sat, Mar 11, 2023 at 06:35:56PM +0100, Krzysztof Kozlowski wrote:
> 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 at linaro.org>

Reviewed-by: Daniel Thompson <daniel.thompson at linaro.org>


More information about the dri-devel mailing list