]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
backlight: ktd253: Support KTD259
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 21 Mar 2021 11:43:41 +0000 (12:43 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 22 Mar 2021 14:29:22 +0000 (14:29 +0000)
The KTD259 works just like KTD253 so add this compatible
to the driver.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/video/backlight/ktd253-backlight.c

index d7b287cffd5cb6ef69915df6ee514b1f8521ba07..a7df5bcca9da500992301a0293b9ffbeeb12dafc 100644 (file)
@@ -173,6 +173,7 @@ static int ktd253_backlight_probe(struct platform_device *pdev)
 
 static const struct of_device_id ktd253_backlight_of_match[] = {
        { .compatible = "kinetic,ktd253" },
+       { .compatible = "kinetic,ktd259" },
        { /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, ktd253_backlight_of_match);