]> git.dujemihanovic.xyz Git - u-boot.git/commit
treewide: convert devfdt_get_addr() to dev_read_addr()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 17 Jul 2020 05:36:48 +0000 (14:36 +0900)
committerSimon Glass <sjg@chromium.org>
Mon, 20 Jul 2020 17:37:47 +0000 (11:37 -0600)
commit60e7fa8b3b8538aae1e644dac61d5e4076901edb
treef589e4e42bdf162da22a8fb15046a363951bd4c9
parent6f25e274da48e938bbd33395881d38f0a4be8682
treewide: convert devfdt_get_addr() to dev_read_addr()

When you enable CONFIG_OF_LIVE, you will end up with a lot of
conversions.

To generate this commit, I used coccinelle excluding drivers/core/,
include/dm/, and test/

The semantic patch that makes this change is as follows:

  <smpl>
  @@
  expression dev;
  @@
  -devfdt_get_addr(dev)
  +dev_read_addr(dev)
  </smpl>

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
120 files changed:
arch/arm/mach-snapdragon/clock-snapdragon.c
arch/arm/mach-snapdragon/pinctrl-snapdragon.c
drivers/ata/dwc_ahci.c
drivers/clk/altera/clk-agilex.c
drivers/clk/altera/clk-arria10.c
drivers/clk/exynos/clk-exynos7420.c
drivers/clk/uniphier/clk-uniphier-core.c
drivers/dma/ti-edma3.c
drivers/gpio/altera_pio.c
drivers/gpio/atmel_pio4.c
drivers/gpio/bcm2835_gpio.c
drivers/gpio/da8xx_gpio.c
drivers/gpio/gpio-rza1.c
drivers/gpio/gpio-uniphier.c
drivers/gpio/msm_gpio.c
drivers/gpio/mxc_gpio.c
drivers/gpio/mxs_gpio.c
drivers/gpio/omap_gpio.c
drivers/gpio/pm8916_gpio.c
drivers/gpio/s5p_gpio.c
drivers/gpio/sifive-gpio.c
drivers/gpio/vybrid_gpio.c
drivers/i2c/i2c-uniphier-f.c
drivers/i2c/i2c-uniphier.c
drivers/i2c/imx_lpi2c.c
drivers/i2c/iproc_i2c.c
drivers/i2c/mxc_i2c.c
drivers/i2c/omap24xx_i2c.c
drivers/mailbox/tegra-hsp.c
drivers/misc/altera_sysid.c
drivers/misc/imx8/scu.c
drivers/misc/microchip_flexcom.c
drivers/mmc/bcm2835_sdhci.c
drivers/mmc/bcm2835_sdhost.c
drivers/mmc/bcmstb_sdhci.c
drivers/mmc/jz_mmc.c
drivers/mmc/meson_gx_mmc.c
drivers/mmc/omap_hsmmc.c
drivers/mmc/sdhci-cadence.c
drivers/mmc/sh_mmcif.c
drivers/mmc/sh_sdhi.c
drivers/mmc/tangier_sdhci.c
drivers/mmc/tmio-common.c
drivers/net/ag7xxx.c
drivers/net/dwc_eth_qos.c
drivers/net/ethoc.c
drivers/net/fec_mxc.c
drivers/net/fsl_mcdmafec.c
drivers/net/ftgmac100.c
drivers/net/ftmac100.c
drivers/net/ks8851_mll.c
drivers/net/mcffec.c
drivers/net/mtk_eth.c
drivers/net/mvgbe.c
drivers/net/mvneta.c
drivers/net/ravb.c
drivers/net/sh_eth.c
drivers/net/smc911x.c
drivers/net/sni_ave.c
drivers/net/sun8i_emac.c
drivers/net/sunxi_emac.c
drivers/net/ti/keystone_net.c
drivers/net/xilinx_axi_emac.c
drivers/net/xilinx_emaclite.c
drivers/pinctrl/ath79/pinctrl_ar933x.c
drivers/pinctrl/ath79/pinctrl_qca953x.c
drivers/pinctrl/exynos/pinctrl-exynos.c
drivers/pinctrl/pinctrl-at91-pio4.c
drivers/pinctrl/renesas/pfc-r7s72100.c
drivers/pinctrl/renesas/pfc.c
drivers/pinctrl/uniphier/pinctrl-uniphier-core.c
drivers/reset/reset-uniphier.c
drivers/rtc/mvrtc.c
drivers/serial/altera_jtag_uart.c
drivers/serial/altera_uart.c
drivers/serial/atmel_usart.c
drivers/serial/serial_ar933x.c
drivers/serial/serial_bcm283x_mu.c
drivers/serial/serial_lpuart.c
drivers/serial/serial_mcf.c
drivers/serial/serial_meson.c
drivers/serial/serial_msm.c
drivers/serial/serial_mxc.c
drivers/serial/serial_pl01x.c
drivers/serial/serial_s5p.c
drivers/serial/serial_sh.c
drivers/serial/serial_sti_asc.c
drivers/serial/serial_stm32.c
drivers/serial/serial_uniphier.c
drivers/spi/altera_spi.c
drivers/spi/atcspi200_spi.c
drivers/spi/ath79_spi.c
drivers/spi/cf_spi.c
drivers/spi/davinci_spi.c
drivers/spi/fsl_dspi.c
drivers/spi/mxc_spi.c
drivers/spi/omap3_spi.c
drivers/spi/spi-sunxi.c
drivers/spi/tegra20_sflash.c
drivers/spi/tegra20_slink.c
drivers/spi/ti_qspi.c
drivers/spi/zynqmp_gqspi.c
drivers/spmi/spmi-msm.c
drivers/timer/ag101p_timer.c
drivers/timer/altera_timer.c
drivers/timer/atcpit100_timer.c
drivers/timer/omap-timer.c
drivers/usb/dwc3/dwc3-uniphier.c
drivers/usb/host/ehci-atmel.c
drivers/usb/host/ehci-exynos.c
drivers/usb/host/ehci-fsl.c
drivers/usb/host/ehci-marvell.c
drivers/usb/host/xhci-exynos5.c
drivers/usb/host/xhci-fsl.c
drivers/usb/host/xhci-mvebu.c
drivers/usb/host/xhci-rcar.c
drivers/video/exynos/exynos_dp.c
drivers/video/exynos/exynos_fb.c
drivers/w1/mxc_w1.c
drivers/watchdog/stm32mp_wdt.c