pwm: jz4740: Remove unused devicetree compatible strings
authorPaul Cercueil <paul@crapouillou.net>
Fri, 7 Jun 2019 15:44:06 +0000 (17:44 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Tue, 25 Jun 2019 13:02:39 +0000 (15:02 +0200)
Right now none of the Ingenic-based boards probe this driver from
devicetree. This driver defined three compatible strings for the exact
same behaviour. Before these strings are used, we can remove two of
them.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-jz4740.c

index a7b134af5e0495786fc553367c9a867ab816dbcd..c274136613c8cb6e3bf323d720987494faa849fc 100644 (file)
@@ -193,8 +193,6 @@ static int jz4740_pwm_remove(struct platform_device *pdev)
 #ifdef CONFIG_OF
 static const struct of_device_id jz4740_pwm_dt_ids[] = {
        { .compatible = "ingenic,jz4740-pwm", },
-       { .compatible = "ingenic,jz4770-pwm", },
-       { .compatible = "ingenic,jz4780-pwm", },
        {},
 };
 MODULE_DEVICE_TABLE(of, jz4740_pwm_dt_ids);