]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
pinctrl: aspeed: Document existence of deprecated compatibles
authorAndrew Jeffery <andrew@aj.id.au>
Wed, 24 Jul 2019 08:13:12 +0000 (17:43 +0930)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 5 Aug 2019 10:47:09 +0000 (12:47 +0200)
Otherwise they look odd in the face of not being listed in the bindings
documents.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20190724081313.12934-3-andrew@aj.id.au
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c
drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c

index 0d1cb78b9bf98aad34d6db3201dcb23b0e12d89c..05143097a1b1d0178f468c32ba53df35d613262e 100644 (file)
@@ -2660,6 +2660,10 @@ static int aspeed_g4_pinctrl_probe(struct platform_device *pdev)
 
 static const struct of_device_id aspeed_g4_pinctrl_of_match[] = {
        { .compatible = "aspeed,ast2400-pinctrl", },
+       /*
+        * The aspeed,g4-pinctrl compatible has been removed the from the
+        * bindings, but keep the match in case of old devicetrees.
+        */
        { .compatible = "aspeed,g4-pinctrl", },
        { },
 };
index 0c9c408c0fbcad56d33316ada75a934cb1cdbb0d..0d1e6dc63370581a467c47ff855e0bd775141d61 100644 (file)
@@ -2783,6 +2783,10 @@ static int aspeed_g5_pinctrl_probe(struct platform_device *pdev)
 
 static const struct of_device_id aspeed_g5_pinctrl_of_match[] = {
        { .compatible = "aspeed,ast2500-pinctrl", },
+       /*
+        * The aspeed,g5-pinctrl compatible has been removed the from the
+        * bindings, but keep the match in case of old devicetrees.
+        */
        { .compatible = "aspeed,g5-pinctrl", },
        { },
 };