dt-bindings: iio: io-channel-mux: Fix compatible string in example code
authorChristian Eggers <ceggers@arri.de>
Mon, 27 Jul 2020 10:16:05 +0000 (12:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Aug 2020 07:48:17 +0000 (09:48 +0200)
commit add48ba425192c6e04ce70549129cacd01e2a09e upstream.

The correct compatible string is "gpio-mux" (see
bindings/mux/gpio-mux.txt).

Cc: stable@vger.kernel.org # v4.13+
Reviewed-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Christian Eggers <ceggers@arri.de>
Link: https://lore.kernel.org/r/20200727101605.24384-1-ceggers@arri.de
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/iio/multiplexer/io-channel-mux.txt

index c82794002595f56f92286b9fc30f8c41f3311bf0..89647d71438795be9664b5cd110af58b1ce1fe6b 100644 (file)
@@ -21,7 +21,7 @@ controller state. The mux controller state is described in
 
 Example:
        mux: mux-controller {
-               compatible = "mux-gpio";
+               compatible = "gpio-mux";
                #mux-control-cells = <0>;
 
                mux-gpios = <&pioA 0 GPIO_ACTIVE_HIGH>,