]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: Fix I2C bus node names in examples
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Wed, 14 Jan 2026 08:13:23 +0000 (09:13 +0100)
committerRob Herring (Arm) <robh@kernel.org>
Wed, 4 Feb 2026 02:58:11 +0000 (20:58 -0600)
commitaa135288890cf18367eaefb221841fd97da74471
treed8084d8138f00cd6830fca4f6747950c4916a3d6
parentd897a50e0c8720d1f987caadae056c7f4c7aa266
dt-bindings: Fix I2C bus node names in examples

I2C bus node names are expected to be just "i2c", if there is just one
such node in given example.  Replace remaining bad examples with
scripted:

  git grep -l '\si2c[0-9] {' Documentation/devicetree/ | xargs sed -i -e 's/i2c[0-9] {/i2c {/'

Suggested-by: Rob Herring <robh@kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patch.msgid.link/20260114081322.53411-2-krzysztof.kozlowski@oss.qualcomm.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Documentation/devicetree/bindings/embedded-controller/lenovo,yoga-c630-ec.yaml
Documentation/devicetree/bindings/media/i2c/onnn,mt9m114.yaml
Documentation/devicetree/bindings/usb/ite,it5205.yaml