[PATCH 5/9] dm: treewide: Rename dev_get_platdata() to dev_get_plat()

Simon Glass sjg at chromium.org
Sun Dec 13 15:51:29 CET 2020


Rename this to be consistent with the change from 'platdata'.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 arch/arm/mach-stm32mp/bsec.c                  | 16 ++++----
 arch/x86/cpu/apollolake/hostbridge.c          |  6 +--
 arch/x86/cpu/apollolake/pmc.c                 |  4 +-
 arch/x86/cpu/apollolake/uart.c                |  4 +-
 arch/x86/cpu/broadwell/sata.c                 |  6 +--
 arch/x86/cpu/intel_common/itss.c              |  2 +-
 arch/x86/cpu/intel_common/p2sb.c              |  4 +-
 board/bluewater/gurnard/gurnard.c             |  2 +-
 cmd/demo.c                                    |  2 +-
 cmd/host.c                                    |  2 +-
 common/usb_storage.c                          |  2 +-
 doc/driver-model/design.rst                   |  2 +-
 doc/driver-model/of-plat.rst                  |  6 +--
 doc/driver-model/spi-howto.rst                |  4 +-
 drivers/ata/fsl_sata.c                        |  8 ++--
 drivers/ata/sata_mv.c                         | 40 +++++++++----------
 drivers/ata/sata_sil.c                        |  8 ++--
 drivers/block/sandbox.c                       |  6 +--
 drivers/cache/cache-v5l2.c                    |  8 ++--
 drivers/clk/altera/clk-agilex.c               |  6 +--
 drivers/clk/altera/clk-arria10.c              | 14 +++----
 drivers/clk/at91/compat.c                     | 30 +++++++-------
 drivers/clk/clk_boston.c                      |  4 +-
 drivers/clk/clk_fixed_factor.c                |  2 +-
 drivers/clk/rockchip/clk_rk3188.c             |  2 +-
 drivers/clk/rockchip/clk_rk3288.c             |  2 +-
 drivers/clk/rockchip/clk_rk3368.c             |  2 +-
 drivers/clk/rockchip/clk_rk3399.c             |  4 +-
 drivers/core/device.c                         |  2 +-
 drivers/core/syscon-uclass.c                  |  2 +-
 drivers/cpu/at91_cpu.c                        |  6 +--
 drivers/cpu/imx8_cpu.c                        | 12 +++---
 drivers/demo/demo-shape.c                     |  4 +-
 drivers/demo/demo-simple.c                    |  2 +-
 drivers/demo/demo-uclass.c                    |  2 +-
 drivers/gpio/altera_pio.c                     | 12 +++---
 drivers/gpio/at91_gpio.c                      |  2 +-
 drivers/gpio/atmel_pio4.c                     |  4 +-
 drivers/gpio/bcm2835_gpio.c                   |  4 +-
 drivers/gpio/da8xx_gpio.c                     |  4 +-
 drivers/gpio/dwapb_gpio.c                     | 14 +++----
 drivers/gpio/gpio-uclass.c                    |  4 +-
 drivers/gpio/hi6220_gpio.c                    |  2 +-
 drivers/gpio/imx_rgpio2p.c                    |  2 +-
 drivers/gpio/intel_broadwell_gpio.c           |  4 +-
 drivers/gpio/intel_ich6_gpio.c                |  4 +-
 drivers/gpio/iproc_gpio.c                     | 16 ++++----
 drivers/gpio/mpc83xx_spisel_boot.c            |  4 +-
 drivers/gpio/mpc8xxx_gpio.c                   |  4 +-
 drivers/gpio/mt7621_gpio.c                    | 12 +++---
 drivers/gpio/mxc_gpio.c                       |  4 +-
 drivers/gpio/mxs_gpio.c                       |  2 +-
 drivers/gpio/nx_gpio.c                        | 26 ++++++------
 drivers/gpio/omap_gpio.c                      |  6 +--
 drivers/gpio/pca953x_gpio.c                   | 16 ++++----
 drivers/gpio/pcf8575_gpio.c                   |  6 +--
 drivers/gpio/sifive-gpio.c                    | 14 +++----
 drivers/gpio/sunxi_gpio.c                     | 12 +++---
 drivers/gpio/vybrid_gpio.c                    |  4 +-
 drivers/gpio/xilinx_gpio.c                    | 18 ++++-----
 drivers/gpio/zynq_gpio.c                      | 18 ++++-----
 drivers/i2c/lpc32xx_i2c.c                     | 10 ++---
 drivers/i2c/omap24xx_i2c.c                    |  4 +-
 drivers/led/led_cortina.c                     |  4 +-
 drivers/misc/altera_sysid.c                   |  2 +-
 drivers/misc/i2c_eeprom_emul.c                | 12 +++---
 drivers/misc/imx8/scu.c                       |  4 +-
 drivers/misc/microchip_flexcom.c              |  2 +-
 drivers/misc/p2sb_emul.c                      |  6 +--
 drivers/misc/rockchip-efuse.c                 |  4 +-
 drivers/misc/rockchip-otp.c                   |  4 +-
 drivers/misc/sifive-otp.c                     |  6 +--
 drivers/misc/swap_case.c                      |  6 +--
 drivers/mmc/am654_sdhci.c                     | 14 +++----
 drivers/mmc/arm_pl180_mmci.c                  |  4 +-
 drivers/mmc/aspeed_sdhci.c                    |  4 +-
 drivers/mmc/atmel_sdhci.c                     |  4 +-
 drivers/mmc/bcm2835_sdhci.c                   |  4 +-
 drivers/mmc/bcm2835_sdhost.c                  |  4 +-
 drivers/mmc/bcmstb_sdhci.c                    |  4 +-
 drivers/mmc/ca_dw_mmc.c                       |  4 +-
 drivers/mmc/davinci_mmc.c                     |  6 +--
 drivers/mmc/exynos_dw_mmc.c                   |  4 +-
 drivers/mmc/fsl_esdhc.c                       | 14 +++----
 drivers/mmc/fsl_esdhc_imx.c                   | 10 ++---
 drivers/mmc/ftsdc010_mci.c                    |  4 +-
 drivers/mmc/gen_atmel_mci.c                   | 14 +++----
 drivers/mmc/hi6220_dw_mmc.c                   |  4 +-
 drivers/mmc/iproc_sdhci.c                     |  4 +-
 drivers/mmc/jz_mmc.c                          |  6 +--
 drivers/mmc/meson_gx_mmc.c                    |  6 +--
 drivers/mmc/mmc_spi.c                         |  4 +-
 drivers/mmc/msm_sdhci.c                       |  4 +-
 drivers/mmc/mtk-sd.c                          | 18 ++++-----
 drivers/mmc/mv_sdhci.c                        |  4 +-
 drivers/mmc/mxsmmc.c                          | 10 ++---
 drivers/mmc/nexell_dw_mmc.c                   |  4 +-
 drivers/mmc/omap_hsmmc.c                      |  8 ++--
 drivers/mmc/pci_mmc.c                         |  4 +-
 drivers/mmc/pic32_sdhci.c                     |  4 +-
 drivers/mmc/pxa_mmc_gen.c                     |  8 ++--
 drivers/mmc/renesas-sdhi.c                    |  2 +-
 drivers/mmc/rockchip_dw_mmc.c                 |  4 +-
 drivers/mmc/rockchip_sdhci.c                  |  4 +-
 drivers/mmc/s5p_sdhci.c                       |  4 +-
 drivers/mmc/sandbox_mmc.c                     |  4 +-
 drivers/mmc/sdhci-cadence.c                   |  8 ++--
 drivers/mmc/sh_mmcif.c                        |  4 +-
 drivers/mmc/sh_sdhi.c                         |  4 +-
 drivers/mmc/snps_dw_mmc.c                     |  4 +-
 drivers/mmc/socfpga_dw_mmc.c                  |  4 +-
 drivers/mmc/sti_sdhci.c                       |  6 +--
 drivers/mmc/stm32_sdmmc2.c                    |  4 +-
 drivers/mmc/sunxi_mmc.c                       |  8 ++--
 drivers/mmc/tangier_sdhci.c                   |  4 +-
 drivers/mmc/tegra_mmc.c                       |  4 +-
 drivers/mmc/tmio-common.c                     |  4 +-
 drivers/mmc/xenon_sdhci.c                     |  4 +-
 drivers/mmc/zynq_sdhci.c                      |  4 +-
 drivers/mtd/altera_qspi.c                     | 18 ++++-----
 drivers/mtd/spi/sandbox.c                     |  4 +-
 drivers/net/ag7xxx.c                          |  6 +--
 drivers/net/altera_tse.c                      |  6 +--
 drivers/net/bcm6348-eth.c                     |  6 +--
 drivers/net/bcm6368-eth.c                     |  2 +-
 drivers/net/bcmgenet.c                        |  6 +--
 drivers/net/dc2114x.c                         |  4 +-
 drivers/net/designware.c                      | 10 ++---
 drivers/net/dwc_eth_qos.c                     |  4 +-
 drivers/net/dwmac_socfpga.c                   |  4 +-
 drivers/net/e1000.c                           |  6 +--
 drivers/net/eepro100.c                        |  4 +-
 drivers/net/ethoc.c                           |  6 +--
 drivers/net/fec_mxc.c                         |  8 ++--
 drivers/net/fm/eth.c                          |  2 +-
 drivers/net/fsl-mc/mc.c                       |  2 +-
 drivers/net/fsl_enetc.c                       |  6 +--
 drivers/net/fsl_mcdmafec.c                    |  4 +-
 drivers/net/ftgmac100.c                       |  8 ++--
 drivers/net/ftmac100.c                        |  6 +--
 drivers/net/gmac_rockchip.c                   |  8 ++--
 drivers/net/higmacv300.c                      |  2 +-
 drivers/net/ks8851_mll.c                      |  6 +--
 drivers/net/ldpaa_eth/ldpaa_eth.c             |  2 +-
 drivers/net/macb.c                            |  6 +--
 drivers/net/mcffec.c                          |  4 +-
 drivers/net/mscc_eswitch/jr2_switch.c         |  4 +-
 drivers/net/mscc_eswitch/luton_switch.c       |  4 +-
 drivers/net/mscc_eswitch/ocelot_switch.c      |  4 +-
 drivers/net/mscc_eswitch/serval_switch.c      |  4 +-
 drivers/net/mscc_eswitch/servalt_switch.c     |  4 +-
 drivers/net/mt7628-eth.c                      |  2 +-
 drivers/net/mtk_eth.c                         |  6 +--
 drivers/net/mvgbe.c                           |  8 ++--
 drivers/net/mvneta.c                          |  8 ++--
 drivers/net/mvpp2.c                           |  2 +-
 drivers/net/octeontx/nicvf_main.c             |  8 ++--
 drivers/net/octeontx2/nix.c                   |  2 +-
 drivers/net/octeontx2/rvu_pf.c                |  2 +-
 drivers/net/pch_gbe.c                         |  6 +--
 drivers/net/pcnet.c                           |  4 +-
 drivers/net/pfe_eth/pfe_eth.c                 |  6 +--
 drivers/net/pic32_eth.c                       |  4 +-
 drivers/net/qe/dm_qe_uec.c                    |  8 ++--
 drivers/net/ravb.c                            | 10 ++---
 drivers/net/rtl8139.c                         |  6 +--
 drivers/net/rtl8169.c                         |  6 +--
 drivers/net/sandbox-raw.c                     |  8 ++--
 drivers/net/sandbox.c                         |  4 +-
 drivers/net/sh_eth.c                          | 10 ++---
 drivers/net/smc911x.c                         |  6 +--
 drivers/net/sni_ave.c                         |  8 ++--
 drivers/net/sun8i_emac.c                      |  8 ++--
 drivers/net/sunxi_emac.c                      |  6 +--
 drivers/net/ti/am65-cpsw-nuss.c               | 10 ++---
 drivers/net/ti/cpsw.c                         |  8 ++--
 drivers/net/ti/davinci_emac.c                 |  2 +-
 drivers/net/ti/keystone_net.c                 |  8 ++--
 drivers/net/tsec.c                            |  4 +-
 drivers/net/xilinx_axi_emac.c                 |  4 +-
 drivers/net/xilinx_emaclite.c                 |  4 +-
 drivers/net/zynq_gem.c                        |  6 +--
 drivers/pci/pci-rcar-gen3.c                   | 16 ++++----
 drivers/pci/pci_mvebu.c                       |  8 ++--
 drivers/phy/allwinner/phy-sun4i-usb.c         |  2 +-
 drivers/pinctrl/intel/pinctrl_apl.c           |  2 +-
 drivers/pinctrl/pinctrl-at91-pio4.c           |  4 +-
 drivers/pinctrl/pinctrl-sti.c                 |  6 +--
 drivers/pinctrl/pinctrl-stmfx.c               | 10 ++---
 drivers/pinctrl/renesas/pfc-r7s72100.c        |  4 +-
 drivers/power/acpi_pmc/pmc_emul.c             |  6 +--
 .../power/domain/imx8-power-domain-legacy.c   |  8 ++--
 drivers/power/domain/imx8m-power-domain.c     |  6 +--
 drivers/power/pmic/i2c_pmic_emul.c            |  8 ++--
 drivers/power/regulator/bd71837.c             | 10 ++---
 drivers/power/regulator/fan53555.c            |  6 +--
 drivers/power/regulator/fixed.c               |  6 +--
 drivers/power/regulator/gpio-regulator.c      | 10 ++---
 drivers/power/regulator/pfuze100.c            |  6 +--
 drivers/power/regulator/tps62360_regulator.c  |  6 +--
 drivers/power/regulator/tps65910_regulator.c  | 22 +++++-----
 drivers/ram/imxrt_sdram.c                     |  6 +--
 drivers/ram/rockchip/dmc-rk3368.c             | 12 +++---
 drivers/ram/rockchip/sdram_rk3188.c           |  8 ++--
 drivers/ram/rockchip/sdram_rk322x.c           |  6 +--
 drivers/ram/rockchip/sdram_rk3288.c           |  8 ++--
 drivers/ram/rockchip/sdram_rk3328.c           |  6 +--
 drivers/ram/rockchip/sdram_rk3399.c           |  6 +--
 drivers/ram/sifive/fu540_ddr.c                |  2 +-
 drivers/ram/stm32_sdram.c                     |  6 +--
 drivers/rng/meson-rng.c                       |  8 ++--
 drivers/rng/stm32mp1_rng.c                    |  8 ++--
 drivers/rtc/i2c_rtc_emul.c                    | 16 ++++----
 drivers/rtc/mvrtc.c                           |  8 ++--
 drivers/rtc/pl031.c                           |  6 +--
 drivers/serial/altera_jtag_uart.c             |  2 +-
 drivers/serial/altera_uart.c                  |  2 +-
 drivers/serial/lpc32xx_hsuart.c               |  2 +-
 drivers/serial/ns16550.c                      |  2 +-
 drivers/serial/serial_arc.c                   |  2 +-
 drivers/serial/serial_bcm283x_mu.c            |  4 +-
 drivers/serial/serial_bcm283x_pl011.c         |  2 +-
 drivers/serial/serial_coreboot.c              |  2 +-
 drivers/serial/serial_intel_mid.c             |  2 +-
 drivers/serial/serial_lpuart.c                | 12 +++---
 drivers/serial/serial_mcf.c                   |  2 +-
 drivers/serial/serial_mvebu_a3700.c           | 12 +++---
 drivers/serial/serial_pl01x.c                 |  6 +--
 drivers/serial/serial_rockchip.c              |  2 +-
 drivers/serial/serial_sh.c                    |  6 +--
 drivers/serial/serial_sifive.c                | 12 +++---
 drivers/serial/serial_stm32.c                 | 14 +++----
 drivers/serial/serial_xuartlite.c             | 10 ++---
 drivers/serial/serial_zynq.c                  | 12 +++---
 drivers/soc/soc_ti_k3.c                       |  6 +--
 drivers/spi/altera_spi.c                      |  4 +-
 drivers/spi/atmel_spi.c                       |  8 ++--
 drivers/spi/bcmstb_spi.c                      |  4 +-
 drivers/spi/cf_spi.c                          |  2 +-
 drivers/spi/designware_spi.c                  |  2 +-
 drivers/spi/exynos_spi.c                      |  6 +--
 drivers/spi/fsl_dspi.c                        |  2 +-
 drivers/spi/fsl_espi.c                        |  2 +-
 drivers/spi/ich.c                             | 16 ++++----
 drivers/spi/kirkwood_spi.c                    | 14 +++----
 drivers/spi/mvebu_a3700_spi.c                 | 12 +++---
 drivers/spi/mxc_spi.c                         |  8 ++--
 drivers/spi/mxs_spi.c                         |  2 +-
 drivers/spi/omap3_spi.c                       |  4 +-
 drivers/spi/pl022_spi.c                       |  2 +-
 drivers/spi/renesas_rpc_spi.c                 |  4 +-
 drivers/spi/rk_spi.c                          |  4 +-
 drivers/spi/sh_qspi.c                         |  6 +--
 drivers/spi/soft_spi.c                        | 10 ++---
 drivers/spi/spi-sunxi.c                       |  6 +--
 drivers/spi/tegra114_spi.c                    |  6 +--
 drivers/spi/tegra20_sflash.c                  |  6 +--
 drivers/spi/tegra20_slink.c                   |  6 +--
 drivers/spi/tegra210_qspi.c                   |  6 +--
 drivers/spi/uniphier_spi.c                    |  2 +-
 drivers/spi/zynq_qspi.c                       |  2 +-
 drivers/spi/zynq_spi.c                        |  2 +-
 drivers/spi/zynqmp_gqspi.c                    |  2 +-
 drivers/sysreset/sysreset_x86.c               |  4 +-
 drivers/tee/optee/core.c                      |  6 +--
 drivers/thermal/imx_scu_thermal.c             |  8 ++--
 drivers/thermal/imx_thermal.c                 |  4 +-
 drivers/thermal/imx_tmu.c                     | 18 ++++-----
 drivers/timer/ag101p_timer.c                  |  2 +-
 drivers/timer/altera_timer.c                  |  2 +-
 drivers/timer/atcpit100_timer.c               |  6 +--
 drivers/timer/atmel_pit_timer.c               |  6 +--
 drivers/timer/rockchip_timer.c                |  2 +-
 drivers/tpm/tpm_tis_st33zp24_spi.c            |  8 ++--
 drivers/usb/cdns3/cdns3-ti.c                  |  4 +-
 drivers/usb/dwc3/dwc3-generic.c               | 12 +++---
 drivers/usb/dwc3/dwc3-meson-g12a.c            |  6 +--
 drivers/usb/dwc3/dwc3-meson-gxl.c             |  6 +--
 drivers/usb/emul/sandbox_flash.c              |  8 ++--
 drivers/usb/emul/sandbox_keyb.c               |  2 +-
 drivers/usb/eth/asix.c                        |  6 +--
 drivers/usb/eth/asix88179.c                   |  4 +-
 drivers/usb/eth/lan75xx.c                     |  6 +--
 drivers/usb/eth/lan78xx.c                     |  6 +--
 drivers/usb/eth/mcs7830.c                     |  4 +-
 drivers/usb/eth/r8152.c                       |  6 +--
 drivers/usb/eth/smsc95xx.c                    |  6 +--
 drivers/usb/gadget/dwc2_udc_otg.c             |  6 +--
 drivers/usb/gadget/ether.c                    |  4 +-
 drivers/usb/host/dwc3-of-simple.c             |  4 +-
 drivers/usb/host/dwc3-sti-glue.c              |  8 ++--
 drivers/usb/host/ehci-exynos.c                |  4 +-
 drivers/usb/host/ehci-msm.c                   |  2 +-
 drivers/usb/host/ehci-mx5.c                   |  4 +-
 drivers/usb/host/ehci-mx6.c                   |  6 +--
 drivers/usb/host/ehci-omap.c                  |  4 +-
 drivers/usb/host/ehci-tegra.c                 |  2 +-
 drivers/usb/host/ehci-vf.c                    |  2 +-
 drivers/usb/host/ehci-zynq.c                  |  2 +-
 drivers/usb/host/usb-uclass.c                 |  2 +-
 drivers/usb/host/xhci-brcm.c                  |  4 +-
 drivers/usb/host/xhci-dwc3.c                  |  4 +-
 drivers/usb/host/xhci-exynos5.c               |  4 +-
 drivers/usb/host/xhci-mvebu.c                 |  4 +-
 drivers/usb/host/xhci-rcar.c                  |  6 +--
 drivers/usb/musb-new/da8xx.c                  |  4 +-
 drivers/usb/musb-new/omap2430.c               |  4 +-
 drivers/usb/musb-new/ti-musb.c                | 12 +++---
 drivers/video/atmel_lcdfb.c                   |  2 +-
 drivers/video/broadwell_igd.c                 | 10 ++---
 drivers/video/nexell_display.c                |  2 +-
 drivers/video/orisetech_otm8009a.c            | 10 ++---
 drivers/video/raydium-rm68200.c               |  8 ++--
 drivers/video/sandbox_sdl.c                   |  4 +-
 drivers/video/stm32/stm32_dsi.c               |  2 +-
 drivers/video/tegra124/dp.c                   |  4 +-
 drivers/virtio/virtio_net.c                   |  4 +-
 drivers/w1/mxc_w1.c                           | 12 +++---
 drivers/w1/w1-gpio.c                          |  8 ++--
 drivers/watchdog/xilinx_tb_wdt.c              |  8 ++--
 drivers/watchdog/xilinx_wwdt.c                |  4 +-
 drivers/xen/pvblock.c                         |  2 +-
 include/dm/device.h                           |  4 +-
 include/dwmmc.h                               |  2 +-
 include/linux/clk-provider.h                  |  2 +-
 include/sdhci.h                               |  2 +-
 include/usb.h                                 |  2 +-
 lib/efi_driver/efi_block_device.c             |  6 +--
 test/dm/acpi.c                                |  6 +--
 test/dm/of_platdata.c                         | 10 ++---
 test/dm/test-driver.c                         |  2 +-
 test/dm/test-fdt.c                            | 18 ++++-----
 test/dm/video.c                               |  8 ++--
 333 files changed, 1009 insertions(+), 1009 deletions(-)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list