]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: Remove leading zeros from bindings notation
authorMarco Franchi <marco.franchi@nxp.com>
Wed, 8 Nov 2017 16:27:48 +0000 (14:27 -0200)
committerRob Herring <robh@kernel.org>
Thu, 9 Nov 2017 23:05:05 +0000 (17:05 -0600)
commita8788a5b58bed921183e8a9898a199269e5ba38f
treede5e05396d6dbb04fdc9f37b26c003c90856c0bf
parent0fe044a86f654ceda87b6a67abcf3ea47a20c853
dt-bindings: Remove leading zeros from bindings notation

Improve the binding example by removing all the leading zeros to fix the
following dtc warnings:

Warning (unit_address_format): Node /XXX unit name should not have leading 0s

Converted using the following command:

perl -p -i -e 's/\@0+([0-9a-f])/\@$1/g' `find ./Documentation/devicetree/bindings "*.txt"`

Some unnecessary changes were manually fixed.

Signed-off-by: Marco Franchi <marco.franchi@nxp.com>
Signed-off-by: Rob Herring <robh@kernel.org>
126 files changed:
Documentation/devicetree/bindings/arm/samsung/pmu.txt
Documentation/devicetree/bindings/arm/samsung/samsung-boards.txt
Documentation/devicetree/bindings/arm/sp810.txt
Documentation/devicetree/bindings/arm/vexpress-sysreg.txt
Documentation/devicetree/bindings/ata/ahci-platform.txt
Documentation/devicetree/bindings/ata/imx-sata.txt
Documentation/devicetree/bindings/bus/imx-weim.txt
Documentation/devicetree/bindings/bus/sunxi-rsb.txt
Documentation/devicetree/bindings/clock/arm-syscon-icst.txt
Documentation/devicetree/bindings/clock/clk-exynos-audss.txt
Documentation/devicetree/bindings/clock/clk-s5pv210-audss.txt
Documentation/devicetree/bindings/clock/dove-divider-clock.txt
Documentation/devicetree/bindings/clock/imx1-clock.txt
Documentation/devicetree/bindings/clock/imx6q-clock.txt
Documentation/devicetree/bindings/clock/maxim,max77686.txt
Documentation/devicetree/bindings/clock/st/st,clkgen.txt
Documentation/devicetree/bindings/clock/sunxi-ccu.txt
Documentation/devicetree/bindings/clock/sunxi.txt
Documentation/devicetree/bindings/clock/ti,cdce706.txt
Documentation/devicetree/bindings/crypto/sun4i-ss.txt
Documentation/devicetree/bindings/display/etnaviv/etnaviv-drm.txt
Documentation/devicetree/bindings/display/imx/hdmi.txt
Documentation/devicetree/bindings/display/simple-framebuffer.txt
Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt
Documentation/devicetree/bindings/dma/sun4i-dma.txt
Documentation/devicetree/bindings/dma/sun6i-dma.txt
Documentation/devicetree/bindings/dma/ti-edma.txt
Documentation/devicetree/bindings/dma/zxdma.txt
Documentation/devicetree/bindings/firmware/nvidia,tegra186-bpmp.txt
Documentation/devicetree/bindings/gpio/gpio-dsp-keystone.txt
Documentation/devicetree/bindings/gpio/gpio-tz1090-pdc.txt
Documentation/devicetree/bindings/gpio/gpio-tz1090.txt
Documentation/devicetree/bindings/i2c/i2c-axxia.txt
Documentation/devicetree/bindings/i2c/i2c-sunxi-p2wi.txt
Documentation/devicetree/bindings/iio/magnetometer/ak8974.txt
Documentation/devicetree/bindings/iio/magnetometer/ak8975.txt
Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt
Documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt
Documentation/devicetree/bindings/input/touchscreen/imx6ul_tsc.txt
Documentation/devicetree/bindings/interrupt-controller/allwinner,sunxi-nmi.txt
Documentation/devicetree/bindings/interrupt-controller/ti,keystone-irq.txt
Documentation/devicetree/bindings/iommu/qcom,iommu.txt
Documentation/devicetree/bindings/leds/register-bit-led.txt
Documentation/devicetree/bindings/mailbox/ti,message-manager.txt
Documentation/devicetree/bindings/marvell.txt
Documentation/devicetree/bindings/media/i2c/tc358743.txt
Documentation/devicetree/bindings/media/img-ir-rev1.txt
Documentation/devicetree/bindings/media/stih-cec.txt
Documentation/devicetree/bindings/media/stih407-c8sectpfe.txt
Documentation/devicetree/bindings/media/sunxi-ir.txt
Documentation/devicetree/bindings/mfd/max77686.txt
Documentation/devicetree/bindings/mfd/max77802.txt
Documentation/devicetree/bindings/mfd/mfd.txt
Documentation/devicetree/bindings/mfd/sun4i-gpadc.txt
Documentation/devicetree/bindings/mfd/sun6i-prcm.txt
Documentation/devicetree/bindings/mfd/syscon.txt
Documentation/devicetree/bindings/mmc/mmc.txt
Documentation/devicetree/bindings/mmc/sdhci-st.txt
Documentation/devicetree/bindings/mmc/sunxi-mmc.txt
Documentation/devicetree/bindings/mtd/sunxi-nand.txt
Documentation/devicetree/bindings/net/allwinner,sun4i-emac.txt
Documentation/devicetree/bindings/net/allwinner,sun4i-mdio.txt
Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.txt
Documentation/devicetree/bindings/net/brcm,bcmgenet.txt
Documentation/devicetree/bindings/net/can/m_can.txt
Documentation/devicetree/bindings/net/can/sun4i_can.txt
Documentation/devicetree/bindings/net/wireless/brcm,bcm43xx-fmac.txt
Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt
Documentation/devicetree/bindings/nvmem/brcm,ocotp.txt
Documentation/devicetree/bindings/nvmem/imx-ocotp.txt
Documentation/devicetree/bindings/nvmem/nvmem.txt
Documentation/devicetree/bindings/nvmem/qfprom.txt
Documentation/devicetree/bindings/pci/nvidia,tegra20-pcie.txt
Documentation/devicetree/bindings/phy/brcm,cygnus-pcie-phy.txt
Documentation/devicetree/bindings/phy/mxs-usb-phy.txt
Documentation/devicetree/bindings/phy/sun9i-usb-phy.txt
Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt
Documentation/devicetree/bindings/pinctrl/fsl,imx-pinctrl.txt
Documentation/devicetree/bindings/pinctrl/img,tz1090-pdc-pinctrl.txt
Documentation/devicetree/bindings/pinctrl/img,tz1090-pinctrl.txt
Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-xusb-padctl.txt
Documentation/devicetree/bindings/pinctrl/pinctrl-mt65xx.txt
Documentation/devicetree/bindings/pinctrl/pinctrl-st.txt
Documentation/devicetree/bindings/pinctrl/qcom,msm8996-pinctrl.txt
Documentation/devicetree/bindings/power/fsl,imx-gpc.txt
Documentation/devicetree/bindings/power/reset/imx-snvs-poweroff.txt
Documentation/devicetree/bindings/power/reset/keystone-reset.txt
Documentation/devicetree/bindings/powerpc/fsl/mcu-mpc8349emitx.txt
Documentation/devicetree/bindings/pwm/pwm-sun4i.txt
Documentation/devicetree/bindings/regulator/max77686.txt
Documentation/devicetree/bindings/regulator/max77802.txt
Documentation/devicetree/bindings/reset/allwinner,sunxi-clock-reset.txt
Documentation/devicetree/bindings/reset/fsl,imx-src.txt
Documentation/devicetree/bindings/reset/ti-syscon-reset.txt
Documentation/devicetree/bindings/rtc/sun6i-rtc.txt
Documentation/devicetree/bindings/rtc/sunxi-rtc.txt
Documentation/devicetree/bindings/soc/fsl/cpm_qe/qe/par_io.txt
Documentation/devicetree/bindings/soc/fsl/cpm_qe/qe/pincfg.txt
Documentation/devicetree/bindings/soc/ti/sci-pm-domain.txt
Documentation/devicetree/bindings/sound/cdns,xtfpga-i2s.txt
Documentation/devicetree/bindings/sound/fsl,asrc.txt
Documentation/devicetree/bindings/sound/fsl,esai.txt
Documentation/devicetree/bindings/sound/fsl,spdif.txt
Documentation/devicetree/bindings/sound/imx-audmux.txt
Documentation/devicetree/bindings/sound/samsung-i2s.txt
Documentation/devicetree/bindings/sound/sun4i-codec.txt
Documentation/devicetree/bindings/sound/sun4i-i2s.txt
Documentation/devicetree/bindings/sound/sun8i-a33-codec.txt
Documentation/devicetree/bindings/sound/sun8i-codec-analog.txt
Documentation/devicetree/bindings/sound/sunxi,sun4i-spdif.txt
Documentation/devicetree/bindings/sound/zte,zx-spdif.txt
Documentation/devicetree/bindings/spi/spi-sun4i.txt
Documentation/devicetree/bindings/spi/spi-sun6i.txt
Documentation/devicetree/bindings/sram/samsung-sram.txt
Documentation/devicetree/bindings/sram/sunxi-sram.txt
Documentation/devicetree/bindings/timer/allwinner,sun5i-a13-hstimer.txt
Documentation/devicetree/bindings/usb/allwinner,sun4i-a10-musb.txt
Documentation/devicetree/bindings/usb/am33xx-usb.txt
Documentation/devicetree/bindings/usb/atmel-usb.txt
Documentation/devicetree/bindings/usb/ohci-da8xx.txt
Documentation/devicetree/bindings/usb/usb-ehci.txt
Documentation/devicetree/bindings/usb/usb-ohci.txt
Documentation/devicetree/bindings/usb/usb3503.txt
Documentation/devicetree/bindings/usb/usbmisc-imx.txt
Documentation/devicetree/bindings/watchdog/mtk-wdt.txt
Documentation/devicetree/bindings/watchdog/sunxi-wdt.txt