Otherwise they look odd in the face of not being listed in the bindings
documents.

Signed-off-by: Andrew Jeffery <[email protected]>
---
 drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c | 4 ++++
 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c 
b/drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c
index 384396cbb22d..0e087fe759d2 100644
--- a/drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c
+++ b/drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c
@@ -2531,6 +2531,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", },
        { },
 };
diff --git a/drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 
b/drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c
index 053101f795a2..49255802735b 100644
--- a/drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c
+++ b/drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c
@@ -2676,6 +2676,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", },
        { },
 };
-- 
2.20.1

Reply via email to