diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2017-11-16 15:18:32 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-12-02 16:41:43 -0500 |
commit | 8a64e557f399090f5d1917b2f32a065da2b12be1 (patch) | |
tree | 3860872350b48d0a48f9b1d4b8e70ca80fcbb113 | |
parent | 7f8e2a85c1b0bd440ffe87be82c79fdc319e8291 (diff) |
gpio: pca953x: fix vendor prefix for PCA9654
Despite commit 55020c8056a8 ("of: Add vendor prefix for ON Semiconductor
Corp.") was made long ago, the latter commit 9f49f6dd0473 ("gpio: pca953x:
add onsemi,pca9654 id") made use of another, undocumented vendor prefix.
Since such prefix doesn't seem to be used in any device trees, I think we
can just fix the "compatible" string in the driver and the bindings and be
done with that...
Fixes: 9f49f6dd0473 ("gpio: pca953x: add onsemi,pca9654 id")
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | Documentation/devicetree/bindings/gpio/gpio-pca953x.txt | 2 | ||||
-rw-r--r-- | drivers/gpio/gpio-pca953x.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt b/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt index 7f57271df2bc..0d0158728f89 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt +++ b/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt | |||
@@ -27,7 +27,7 @@ Required properties: | |||
27 | ti,tca6424 | 27 | ti,tca6424 |
28 | ti,tca9539 | 28 | ti,tca9539 |
29 | ti,tca9554 | 29 | ti,tca9554 |
30 | onsemi,pca9654 | 30 | onnn,pca9654 |
31 | exar,xra1202 | 31 | exar,xra1202 |
32 | 32 | ||
33 | Optional properties: | 33 | Optional properties: |
diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c index babb7bd2ba59..a0a5f9730aa7 100644 --- a/drivers/gpio/gpio-pca953x.c +++ b/drivers/gpio/gpio-pca953x.c | |||
@@ -947,7 +947,7 @@ static const struct of_device_id pca953x_dt_ids[] = { | |||
947 | { .compatible = "ti,tca6416", .data = OF_953X(16, PCA_INT), }, | 947 | { .compatible = "ti,tca6416", .data = OF_953X(16, PCA_INT), }, |
948 | { .compatible = "ti,tca6424", .data = OF_953X(24, PCA_INT), }, | 948 | { .compatible = "ti,tca6424", .data = OF_953X(24, PCA_INT), }, |
949 | 949 | ||
950 | { .compatible = "onsemi,pca9654", .data = OF_953X( 8, PCA_INT), }, | 950 | { .compatible = "onnn,pca9654", .data = OF_953X( 8, PCA_INT), }, |
951 | 951 | ||
952 | { .compatible = "exar,xra1202", .data = OF_953X( 8, 0), }, | 952 | { .compatible = "exar,xra1202", .data = OF_953X( 8, 0), }, |
953 | { } | 953 | { } |