[PATCH 6/9] dm: treewide: Rename ofdata_to_platdata() to of_to_plat()
Simon Glass
sjg at chromium.org
Sun Dec 13 15:51:27 CET 2020
This name is far too long. Rename it to remove the 'data' bits. This makes
it consistent with the platdata->plat rename.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
arch/arm/mach-stm32mp/bsec.c | 4 +--
arch/arm/mach-stm32mp/pwr_regulator.c | 4 +--
arch/x86/cpu/acpi_gpe.c | 4 +--
arch/x86/cpu/apollolake/hostbridge.c | 4 +--
arch/x86/cpu/apollolake/pmc.c | 2 +-
arch/x86/cpu/apollolake/uart.c | 8 ++---
arch/x86/cpu/broadwell/adsp.c | 4 +--
arch/x86/cpu/broadwell/sata.c | 4 +--
arch/x86/cpu/intel_common/itss.c | 4 +--
arch/x86/cpu/intel_common/p2sb.c | 4 +--
arch/x86/cpu/slimbootloader/serial.c | 4 +--
arch/x86/include/asm/intel_pinctrl.h | 7 ++--
board/intel/galileo/galileo.c | 2 +-
doc/driver-model/debugging.rst | 2 +-
doc/driver-model/design.rst | 36 +++++++++----------
doc/driver-model/ethernet.rst | 2 +-
doc/driver-model/of-plat.rst | 12 +++----
doc/driver-model/spi-howto.rst | 8 ++---
doc/driver-model/usb-info.rst | 4 +--
drivers/adc/exynos-adc.c | 4 +--
drivers/adc/meson-saradc.c | 4 +--
drivers/adc/rockchip-saradc.c | 4 +--
drivers/adc/sandbox.c | 4 +--
drivers/ata/dwc_ahci.c | 4 +--
drivers/ata/fsl_sata.c | 4 +--
drivers/ata/mtk_ahci.c | 4 +--
drivers/ata/sata_ceva.c | 4 +--
drivers/cache/cache-v5l2.c | 4 +--
drivers/clk/altera/clk-agilex.c | 4 +--
drivers/clk/altera/clk-arria10.c | 4 +--
drivers/clk/aspeed/clk_ast2500.c | 4 +--
drivers/clk/at91/compat.c | 12 +++----
drivers/clk/clk_boston.c | 4 +--
drivers/clk/clk_fixed_factor.c | 4 +--
drivers/clk/clk_fixed_rate.c | 4 +--
drivers/clk/rockchip/clk_px30.c | 8 ++---
drivers/clk/rockchip/clk_rk3036.c | 4 +--
drivers/clk/rockchip/clk_rk3128.c | 4 +--
drivers/clk/rockchip/clk_rk3188.c | 4 +--
drivers/clk/rockchip/clk_rk322x.c | 4 +--
drivers/clk/rockchip/clk_rk3288.c | 4 +--
drivers/clk/rockchip/clk_rk3308.c | 4 +--
drivers/clk/rockchip/clk_rk3328.c | 4 +--
drivers/clk/rockchip/clk_rk3368.c | 4 +--
drivers/clk/rockchip/clk_rk3399.c | 8 ++---
drivers/clk/rockchip/clk_rv1108.c | 4 +--
drivers/core/acpi.c | 2 +-
drivers/core/device.c | 14 ++++----
drivers/core/devres.c | 2 +-
drivers/core/root.c | 4 +--
drivers/ddr/altera/sdram_gen5.c | 4 +--
drivers/ddr/altera/sdram_soc64.c | 4 +--
drivers/demo/demo-shape.c | 4 +--
drivers/demo/demo-simple.c | 4 +--
drivers/dma/ti-edma3.c | 4 +--
drivers/gpio/altera_pio.c | 4 +--
drivers/gpio/bcm2835_gpio.c | 4 +--
drivers/gpio/da8xx_gpio.c | 4 +--
drivers/gpio/gpio-uclass.c | 4 +--
drivers/gpio/intel_broadwell_gpio.c | 4 +--
drivers/gpio/intel_gpio.c | 4 +--
drivers/gpio/intel_ich6_gpio.c | 4 +--
drivers/gpio/iproc_gpio.c | 4 +--
drivers/gpio/mpc83xx_spisel_boot.c | 4 +--
drivers/gpio/mpc8xxx_gpio.c | 4 +--
drivers/gpio/msm_gpio.c | 4 +--
drivers/gpio/mxc_gpio.c | 4 +--
drivers/gpio/mxs_gpio.c | 4 +--
drivers/gpio/nx_gpio.c | 4 +--
drivers/gpio/omap_gpio.c | 4 +--
drivers/gpio/pcf8575_gpio.c | 2 +-
drivers/gpio/pm8916_gpio.c | 8 ++---
drivers/gpio/sandbox.c | 4 +--
drivers/gpio/sifive-gpio.c | 4 +--
drivers/gpio/vybrid_gpio.c | 2 +-
drivers/gpio/xilinx_gpio.c | 4 +--
drivers/gpio/zynq_gpio.c | 4 +--
drivers/i2c/acpi_i2c.c | 2 +-
drivers/i2c/acpi_i2c.h | 2 +-
drivers/i2c/ast_i2c.c | 4 +--
drivers/i2c/at91_i2c.c | 4 +--
drivers/i2c/cros_ec_tunnel.c | 4 +--
drivers/i2c/designware_i2c.c | 4 +--
drivers/i2c/designware_i2c.h | 2 +-
drivers/i2c/designware_i2c_pci.c | 6 ++--
drivers/i2c/exynos_hs_i2c.c | 4 +--
drivers/i2c/fsl_i2c.c | 4 +--
drivers/i2c/i2c-cdns.c | 4 +--
drivers/i2c/i2c-cortina.c | 4 +--
drivers/i2c/i2c-gpio.c | 4 +--
drivers/i2c/i2c-uclass.c | 6 ++--
drivers/i2c/iproc_i2c.c | 4 +--
drivers/i2c/muxes/pca954x.c | 4 +--
drivers/i2c/mvtwsi.c | 4 +--
drivers/i2c/omap24xx_i2c.c | 4 +--
drivers/i2c/rk_i2c.c | 4 +--
drivers/i2c/s3c24x0_i2c.c | 4 +--
drivers/i2c/stm32f7_i2c.c | 4 +--
drivers/led/led_cortina.c | 4 +--
drivers/misc/altera_sysid.c | 4 +--
drivers/misc/atsha204a-i2c.c | 4 +--
drivers/misc/fs_loader.c | 4 +--
drivers/misc/i2c_eeprom.c | 8 ++---
drivers/misc/i2c_eeprom_emul.c | 4 +--
drivers/misc/microchip_flexcom.c | 4 +--
drivers/misc/rockchip-efuse.c | 4 +--
drivers/misc/rockchip-otp.c | 4 +--
drivers/misc/sifive-otp.c | 4 +--
drivers/mmc/am654_sdhci.c | 4 +--
drivers/mmc/arm_pl180_mmci.c | 4 +--
drivers/mmc/ca_dw_mmc.c | 4 +--
drivers/mmc/davinci_mmc.c | 4 +--
drivers/mmc/fsl_esdhc_imx.c | 4 +--
drivers/mmc/ftsdc010_mci.c | 4 +--
drivers/mmc/hi6220_dw_mmc.c | 4 +--
drivers/mmc/jz_mmc.c | 4 +--
drivers/mmc/meson_gx_mmc.c | 4 +--
drivers/mmc/msm_sdhci.c | 4 +--
drivers/mmc/mtk-sd.c | 4 +--
drivers/mmc/mxsmmc.c | 4 +--
drivers/mmc/nexell_dw_mmc.c | 4 +--
drivers/mmc/omap_hsmmc.c | 4 +--
drivers/mmc/pci_mmc.c | 4 +--
drivers/mmc/rockchip_dw_mmc.c | 4 +--
drivers/mmc/rockchip_sdhci.c | 4 +--
drivers/mmc/snps_dw_mmc.c | 4 +--
drivers/mmc/socfpga_dw_mmc.c | 4 +--
drivers/mmc/sti_sdhci.c | 4 +--
drivers/mmc/xenon_sdhci.c | 4 +--
drivers/mmc/zynq_sdhci.c | 4 +--
drivers/mtd/altera_qspi.c | 4 +--
drivers/mtd/nand/raw/octeontx_nand.c | 4 +--
drivers/mtd/spi/sandbox.c | 4 +--
drivers/net/ag7xxx.c | 4 +--
drivers/net/altera_tse.c | 4 +--
drivers/net/bcmgenet.c | 4 +--
drivers/net/designware.c | 4 +--
drivers/net/designware.h | 2 +-
drivers/net/dwmac_s700.c | 6 ++--
drivers/net/dwmac_socfpga.c | 6 ++--
drivers/net/ethoc.c | 4 +--
drivers/net/fec_mxc.c | 4 +--
drivers/net/fsl_mcdmafec.c | 6 ++--
drivers/net/ftgmac100.c | 4 +--
drivers/net/ftmac100.c | 4 +--
drivers/net/gmac_rockchip.c | 6 ++--
drivers/net/higmacv300.c | 4 +--
drivers/net/ks8851_mll.c | 4 +--
drivers/net/ldpaa_eth/ldpaa_eth.c | 4 +--
drivers/net/macb.c | 10 +++---
drivers/net/mcffec.c | 6 ++--
drivers/net/mtk_eth.c | 4 +--
drivers/net/mvgbe.c | 4 +--
drivers/net/mvneta.c | 6 ++--
drivers/net/qe/dm_qe_uec.c | 4 +--
drivers/net/ravb.c | 4 +--
drivers/net/sandbox-raw.c | 4 +--
drivers/net/sandbox.c | 4 +--
drivers/net/sh_eth.c | 4 +--
drivers/net/smc911x.c | 4 +--
drivers/net/sni_ave.c | 4 +--
drivers/net/sun8i_emac.c | 4 +--
drivers/net/sunxi_emac.c | 4 +--
drivers/net/ti/cpsw.c | 4 +--
drivers/net/ti/keystone_net.c | 8 ++---
drivers/net/xilinx_axi_emac.c | 4 +--
drivers/net/xilinx_emaclite.c | 4 +--
drivers/net/zynq_gem.c | 4 +--
drivers/pci/pci-aardvark.c | 6 ++--
drivers/pci/pci-rcar-gen2.c | 4 +--
drivers/pci/pci-rcar-gen3.c | 4 +--
drivers/pci/pci-uclass.c | 2 +-
drivers/pci/pci_mpc85xx.c | 4 +--
drivers/pci/pci_mvebu.c | 4 +--
drivers/pci/pci_octeontx.c | 4 +--
drivers/pci/pci_tegra.c | 4 +--
drivers/pci/pcie_brcmstb.c | 4 +--
drivers/pci/pcie_dw_mvebu.c | 6 ++--
drivers/pci/pcie_dw_ti.c | 6 ++--
drivers/pci/pcie_ecam_generic.c | 6 ++--
drivers/pci/pcie_fsl.c | 4 +--
drivers/pci/pcie_imx.c | 4 +--
drivers/pci/pcie_intel_fpga.c | 4 +--
drivers/pci/pcie_phytium.c | 6 ++--
drivers/pci/pcie_xilinx.c | 6 ++--
drivers/pinctrl/broadcom/pinctrl-bcm283x.c | 4 +--
drivers/pinctrl/intel/pinctrl.c | 7 ++--
drivers/pinctrl/intel/pinctrl_apl.c | 6 ++--
drivers/pinctrl/mtmips/pinctrl-mt7628.c | 4 +--
drivers/pinctrl/pinctrl-qe-io.c | 4 +--
drivers/pinctrl/pinctrl-single.c | 4 +--
.../power/domain/imx8-power-domain-legacy.c | 4 +--
drivers/power/domain/imx8m-power-domain.c | 4 +--
drivers/power/pmic/i2c_pmic_emul.c | 4 +--
drivers/power/regulator/fan53555.c | 4 +--
drivers/power/regulator/fixed.c | 6 ++--
drivers/power/regulator/gpio-regulator.c | 6 ++--
drivers/power/regulator/pbias_regulator.c | 4 +--
drivers/power/regulator/pwm_regulator.c | 4 +--
drivers/power/regulator/regulator_common.c | 5 +--
drivers/power/regulator/regulator_common.h | 5 +--
drivers/power/regulator/tps65910_regulator.c | 8 ++---
drivers/pwm/exynos_pwm.c | 4 +--
drivers/pwm/pwm-imx.c | 4 +--
drivers/pwm/pwm-meson.c | 4 +--
drivers/pwm/pwm-sifive.c | 4 +--
drivers/pwm/rk_pwm.c | 4 +--
drivers/pwm/sunxi_pwm.c | 4 +--
drivers/pwm/tegra_pwm.c | 4 +--
drivers/ram/aspeed/sdram_ast2500.c | 4 +--
drivers/ram/imxrt_sdram.c | 4 +--
drivers/ram/mpc83xx_sdram.c | 4 +--
drivers/ram/rockchip/dmc-rk3368.c | 4 +--
drivers/ram/rockchip/sdram_rk3188.c | 4 +--
drivers/ram/rockchip/sdram_rk322x.c | 4 +--
drivers/ram/rockchip/sdram_rk3288.c | 4 +--
drivers/ram/rockchip/sdram_rk3328.c | 4 +--
drivers/ram/rockchip/sdram_rk3399.c | 4 +--
drivers/ram/stm32_sdram.c | 4 +--
drivers/reset/reset-mtmips.c | 4 +--
drivers/rng/meson-rng.c | 6 ++--
drivers/rng/rockchip_rng.c | 4 +--
drivers/rng/stm32mp1_rng.c | 4 +--
drivers/rtc/mvrtc.c | 4 +--
drivers/rtc/pl031.c | 4 +--
drivers/serial/altera_jtag_uart.c | 4 +--
drivers/serial/altera_uart.c | 4 +--
drivers/serial/ns16550.c | 4 +--
drivers/serial/sandbox.c | 4 +--
drivers/serial/serial_arc.c | 4 +--
drivers/serial/serial_bcm283x_mu.c | 2 +-
drivers/serial/serial_bcm283x_pl011.c | 4 +--
drivers/serial/serial_coreboot.c | 4 +--
drivers/serial/serial_cortina.c | 4 +--
drivers/serial/serial_intel_mid.c | 2 +-
drivers/serial/serial_lpuart.c | 4 +--
drivers/serial/serial_mcf.c | 4 +--
drivers/serial/serial_meson.c | 4 +--
drivers/serial/serial_msm.c | 4 +--
drivers/serial/serial_mtk.c | 4 +--
drivers/serial/serial_mvebu_a3700.c | 4 +--
drivers/serial/serial_mxc.c | 4 +--
drivers/serial/serial_omap.c | 4 +--
drivers/serial/serial_owl.c | 4 +--
drivers/serial/serial_pl01x.c | 4 +--
drivers/serial/serial_pl01x_internal.h | 2 +-
drivers/serial/serial_s5p.c | 4 +--
drivers/serial/serial_sh.c | 4 +--
drivers/serial/serial_sifive.c | 4 +--
drivers/serial/serial_stm32.c | 4 +--
drivers/serial/serial_xuartlite.c | 4 +--
drivers/serial/serial_zynq.c | 4 +--
drivers/sound/max98357a.c | 4 +--
drivers/sound/samsung-i2s.c | 4 +--
drivers/spi/altera_spi.c | 4 +--
drivers/spi/atcspi200_spi.c | 2 +-
drivers/spi/bcmstb_spi.c | 4 +--
drivers/spi/cadence_qspi.c | 4 +--
drivers/spi/cf_spi.c | 4 +--
drivers/spi/davinci_spi.c | 2 +-
drivers/spi/designware_spi.c | 4 +--
drivers/spi/exynos_spi.c | 4 +--
drivers/spi/fsl_dspi.c | 4 +--
drivers/spi/fsl_espi.c | 4 +--
drivers/spi/ich.c | 4 +--
drivers/spi/kirkwood_spi.c | 4 +--
drivers/spi/mpc8xxx_spi.c | 4 +--
drivers/spi/mvebu_a3700_spi.c | 4 +--
drivers/spi/mxs_spi.c | 4 +--
drivers/spi/nxp_fspi.c | 4 +--
drivers/spi/omap3_spi.c | 4 +--
drivers/spi/pl022_spi.c | 4 +--
drivers/spi/renesas_rpc_spi.c | 4 +--
drivers/spi/rk_spi.c | 4 +--
drivers/spi/sh_qspi.c | 4 +--
drivers/spi/soft_spi.c | 4 +--
drivers/spi/spi-sunxi.c | 4 +--
drivers/spi/spi-uclass.c | 6 ++--
drivers/spi/tegra114_spi.c | 4 +--
drivers/spi/tegra20_sflash.c | 4 +--
drivers/spi/tegra20_slink.c | 4 +--
drivers/spi/tegra210_qspi.c | 4 +--
drivers/spi/ti_qspi.c | 4 +--
drivers/spi/uniphier_spi.c | 4 +--
drivers/spi/zynq_qspi.c | 4 +--
drivers/spi/zynq_spi.c | 4 +--
drivers/spi/zynqmp_gqspi.c | 4 +--
drivers/tee/optee/core.c | 4 +--
drivers/thermal/imx_scu_thermal.c | 4 +--
drivers/timer/ag101p_timer.c | 4 +--
drivers/timer/altera_timer.c | 4 +--
drivers/timer/ast_timer.c | 4 +--
drivers/timer/atcpit100_timer.c | 4 +--
drivers/timer/atmel_pit_timer.c | 4 +--
drivers/timer/cadence-ttc.c | 4 +--
drivers/timer/dw-apb-timer.c | 4 +--
drivers/timer/omap-timer.c | 4 +--
drivers/timer/ostm_timer.c | 4 +--
drivers/timer/rockchip_timer.c | 4 +--
drivers/tpm/cr50_i2c.c | 4 +--
drivers/usb/dwc3/dwc3-generic.c | 6 ++--
drivers/usb/emul/sandbox_flash.c | 4 +--
drivers/usb/gadget/dwc2_udc_otg.c | 4 +--
drivers/usb/host/dwc2.c | 4 +--
drivers/usb/host/dwc3-sti-glue.c | 4 +--
drivers/usb/host/ehci-exynos.c | 4 +--
drivers/usb/host/ehci-fsl.c | 4 +--
drivers/usb/host/ehci-msm.c | 4 +--
drivers/usb/host/ehci-mx5.c | 4 +--
drivers/usb/host/ehci-mx6.c | 4 +--
drivers/usb/host/ehci-omap.c | 4 +--
drivers/usb/host/ehci-tegra.c | 4 +--
drivers/usb/host/ehci-vf.c | 4 +--
drivers/usb/host/ehci-zynq.c | 4 +--
drivers/usb/host/r8a66597-hcd.c | 4 +--
drivers/usb/host/xhci-exynos5.c | 4 +--
drivers/usb/host/xhci-mvebu.c | 4 +--
drivers/usb/host/xhci-rcar.c | 4 +--
drivers/usb/musb-new/da8xx.c | 4 +--
drivers/usb/musb-new/omap2430.c | 4 +--
drivers/usb/musb-new/ti-musb.c | 14 ++++----
drivers/video/am335x-fb.c | 4 +--
drivers/video/atmel_hlcdfb.c | 4 +--
drivers/video/atmel_lcdfb.c | 4 +--
drivers/video/backlight_gpio.c | 4 +--
drivers/video/broadwell_igd.c | 4 +--
drivers/video/exynos/exynos_dp.c | 4 +--
drivers/video/exynos/exynos_fb.c | 4 +--
drivers/video/lg4573.c | 4 +--
drivers/video/orisetech_otm8009a.c | 4 +--
drivers/video/pwm_backlight.c | 4 +--
drivers/video/raydium-rm68200.c | 4 +--
drivers/video/rockchip/rk3288_hdmi.c | 6 ++--
drivers/video/rockchip/rk3288_mipi.c | 4 +--
drivers/video/rockchip/rk3399_hdmi.c | 6 ++--
drivers/video/rockchip/rk3399_mipi.c | 4 +--
drivers/video/rockchip/rk_edp.c | 4 +--
drivers/video/rockchip/rk_hdmi.c | 2 +-
drivers/video/rockchip/rk_hdmi.h | 4 +--
drivers/video/rockchip/rk_lvds.c | 4 +--
drivers/video/simple_panel.c | 4 +--
drivers/video/tegra.c | 4 +--
drivers/video/tegra124/dp.c | 4 +--
drivers/video/tegra124/sor.c | 4 +--
drivers/virtio/virtio_mmio.c | 4 +--
drivers/w1/mxc_w1.c | 4 +--
drivers/w1/w1-gpio.c | 4 +--
drivers/watchdog/ast_wdt.c | 4 +--
drivers/watchdog/cdns_wdt.c | 4 +--
drivers/watchdog/orion_wdt.c | 4 +--
drivers/watchdog/sbsa_gwdt.c | 4 +--
drivers/watchdog/sp805_wdt.c | 4 +--
drivers/watchdog/xilinx_tb_wdt.c | 4 +--
drivers/watchdog/xilinx_wwdt.c | 4 +--
include/dm/device-internal.h | 4 +--
include/dm/device.h | 16 ++++-----
include/dm/platform_data/spi_pl022.h | 2 +-
include/i2c.h | 10 +++---
include/ns16550.h | 4 +--
include/spi.h | 6 ++--
test/dm/devres.c | 2 +-
test/dm/test-fdt.c | 14 ++++----
362 files changed, 797 insertions(+), 797 deletions(-)
Applied to u-boot-dm/next, thanks!
More information about the U-Boot
mailing list