Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Sergei Shtylyov and committed by
Linus Walleij
8a64e557 7f8e2a85

+2 -2
+1 -1
Documentation/devicetree/bindings/gpio/gpio-pca953x.txt
··· 27 27 ti,tca6424 28 28 ti,tca9539 29 29 ti,tca9554 30 - onsemi,pca9654 30 + onnn,pca9654 31 31 exar,xra1202 32 32 33 33 Optional properties:
+1 -1
drivers/gpio/gpio-pca953x.c
··· 947 947 { .compatible = "ti,tca6416", .data = OF_953X(16, PCA_INT), }, 948 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 952 { .compatible = "exar,xra1202", .data = OF_953X( 8, 0), }, 953 953 { }