backlight: lp855x: Mark OF related data as maybe unused
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 11 Mar 2023 17:35:55 +0000 (18:35 +0100)
committerLee Jones <lee@kernel.org>
Thu, 16 Mar 2023 16:11:14 +0000 (16:11 +0000)
commitc857b87202bf5266b45c5b4dc0308aa603aeb262
treeaf6fa171038c155faa25b5ebd9aeb22f5b9c65a3
parent541ec23c603dcb3b9cebebe40d9a68cdc89dd36b
backlight: lp855x: Mark OF related data as maybe unused

The driver can be compile tested with !CONFIG_OF making certain data
unused:

  drivers/video/backlight/lp855x_bl.c:551:34: error: ‘lp855x_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-1-krzysztof.kozlowski@linaro.org
drivers/video/backlight/lp855x_bl.c