diff mbox series

[2/2] backlight: ktd253: Support KTD259

Message ID 20210321114341.944696-2-linus.walleij@linaro.org (mailing list archive)
State New, archived
Headers show
Series [1/2] dt-bindings: backlight: Add Kinetic KTD259 bindings | expand

Commit Message

Linus Walleij March 21, 2021, 11:43 a.m. UTC
The KTD259 works just like KTD253 so add this compatible
to the driver.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 drivers/video/backlight/ktd253-backlight.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Daniel Thompson March 22, 2021, 2:06 p.m. UTC | #1
On Sun, Mar 21, 2021 at 12:43:41PM +0100, Linus Walleij wrote:
> The KTD259 works just like KTD253 so add this compatible
> to the driver.
> 
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

Oh no... there's more of them ;-) .

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


Daniel.


> ---
>  drivers/video/backlight/ktd253-backlight.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/video/backlight/ktd253-backlight.c b/drivers/video/backlight/ktd253-backlight.c
> index d7b287cffd5c..a7df5bcca9da 100644
> --- a/drivers/video/backlight/ktd253-backlight.c
> +++ b/drivers/video/backlight/ktd253-backlight.c
> @@ -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);
> -- 
> 2.29.2
>
Lee Jones March 22, 2021, 2:32 p.m. UTC | #2
On Sun, 21 Mar 2021, Linus Walleij wrote:

> The KTD259 works just like KTD253 so add this compatible
> to the driver.
> 
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
>  drivers/video/backlight/ktd253-backlight.c | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks.
diff mbox series

Patch

diff --git a/drivers/video/backlight/ktd253-backlight.c b/drivers/video/backlight/ktd253-backlight.c
index d7b287cffd5c..a7df5bcca9da 100644
--- a/drivers/video/backlight/ktd253-backlight.c
+++ b/drivers/video/backlight/ktd253-backlight.c
@@ -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);