gpio: sprd: Change to use SoC compatible string
authorBaolin Wang <baolin.wang@linaro.org>
Tue, 19 Feb 2019 02:29:58 +0000 (10:29 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 21 Feb 2019 12:18:49 +0000 (13:18 +0100)
Change to use SoC compatible string instead of wildcard string.

The Spreadtrum SC9860 platform device trees and drivers' development
are still in progress, and now we will always recompile and ship
device trees at the same time as we will compile and ship the kernel,
so we do not need care about the backwards compatibility.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pmic-eic-sprd.c

index ac573da..24228cf 100644 (file)
@@ -364,7 +364,7 @@ static int sprd_pmic_eic_probe(struct platform_device *pdev)
 }
 
 static const struct of_device_id sprd_pmic_eic_of_match[] = {
-       { .compatible = "sprd,sc27xx-eic", },
+       { .compatible = "sprd,sc2731-eic", },
        { /* end of list */ }
 };
 MODULE_DEVICE_TABLE(of, sprd_pmic_eic_of_match);