[PATCH 8/9] dm: treewide: Rename ..._platdata variables to just ..._plat

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


Try to maintain some consistency between these variables by using _plat as
a suffix for them.

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

 arch/arm/include/asm/arch-hi6220/gpio.h       |  2 +-
 arch/arm/include/asm/arch-imx8/power-domain.h |  2 +-
 .../arm/include/asm/arch-imx8m/power-domain.h |  2 +-
 arch/arm/include/asm/arch-vf610/gpio.h        |  2 +-
 arch/arm/include/asm/omap_gpio.h              |  2 +-
 arch/arm/include/asm/omap_i2c.h               |  2 +-
 arch/arm/include/asm/omap_musb.h              |  2 +-
 .../mach-at91/arm926ejs/at91sam9260_devices.c |  2 +-
 .../arm926ejs/at91sam9m10g45_devices.c        |  2 +-
 .../arm/mach-at91/include/mach/atmel_serial.h |  2 +-
 arch/arm/mach-at91/include/mach/gpio.h        |  2 +-
 arch/arm/mach-bcm283x/include/mach/gpio.h     |  4 +-
 arch/arm/mach-lpc32xx/devices.c               |  4 +-
 arch/arm/mach-nexell/include/mach/display.h   |  4 +-
 arch/arm/mach-omap2/am33xx/board.c            | 10 ++--
 arch/arm/mach-omap2/omap3/board.c             |  2 +-
 arch/arm/mach-rockchip/px30/syscon_px30.c     |  8 +--
 arch/arm/mach-rockchip/rk3188/syscon_rk3188.c |  8 +--
 arch/arm/mach-rockchip/rk3288/syscon_rk3288.c | 10 ++--
 arch/arm/mach-rockchip/rk3368/syscon_rk3368.c | 10 ++--
 arch/arm/mach-rockchip/rk3399/syscon_rk3399.c | 12 ++---
 arch/arm/mach-stm32mp/bsec.c                  | 20 ++++----
 arch/arm/mach-tegra/board.c                   |  2 +-
 arch/riscv/include/asm/arch-fu540/gpio.h      |  2 +-
 arch/riscv/include/asm/arch-generic/gpio.h    |  2 +-
 arch/x86/cpu/apollolake/hostbridge.c          | 12 ++---
 arch/x86/cpu/apollolake/pmc.c                 | 14 +++---
 arch/x86/cpu/apollolake/spl.c                 |  2 +-
 arch/x86/cpu/apollolake/uart.c                |  8 +--
 arch/x86/cpu/broadwell/sata.c                 | 10 ++--
 arch/x86/cpu/cpu_x86.c                        |  2 +-
 arch/x86/cpu/intel_common/itss.c              |  6 +--
 arch/x86/cpu/intel_common/p2sb.c              | 12 ++---
 arch/x86/cpu/mp_init.c                        |  4 +-
 arch/x86/cpu/qfw_cpu.c                        |  2 +-
 arch/x86/cpu/slimbootloader/serial.c          |  4 +-
 arch/x86/include/asm/arch-broadwell/gpio.h    |  2 +-
 arch/x86/include/asm/gpio.h                   |  2 +-
 arch/x86/lib/acpi_table.c                     |  2 +-
 arch/x86/lib/fsp/fsp_graphics.c               |  4 +-
 arch/x86/lib/mpspec.c                         |  2 +-
 arch/x86/lib/sfi.c                            |  2 +-
 board/armltd/integrator/integrator.c          |  4 +-
 board/armltd/total_compute/total_compute.c    |  4 +-
 board/armltd/vexpress64/vexpress64.c          |  4 +-
 board/bluewater/gurnard/gurnard.c             |  4 +-
 board/bluewater/snapper9260/snapper9260.c     |  2 +-
 board/cavium/thunderx/thunderx.c              |  4 +-
 board/compulab/cm_fx6/cm_fx6.c                |  2 +-
 board/davinci/da8xxevm/omapl138_lcdk.c        |  6 +--
 board/freescale/lx2160a/lx2160a.c             |  4 +-
 board/gateworks/gw_ventana/gw_ventana.c       |  2 +-
 board/hisilicon/hikey/hikey.c                 |  6 +--
 board/hisilicon/hikey960/hikey960.c           |  4 +-
 board/hisilicon/poplar/poplar.c               |  4 +-
 board/isee/igep00x0/igep00x0.c                |  2 +-
 board/lg/sniper/sniper.c                      |  4 +-
 board/nokia/rx51/rx51.c                       |  2 +-
 board/siemens/corvus/board.c                  |  2 +-
 board/st/stv0991/stv0991.c                    |  4 +-
 board/sysam/amcore/amcore.c                   |  2 +-
 board/ti/am335x/board.c                       |  8 +--
 board/timll/devkit8000/devkit8000.c           |  2 +-
 board/toradex/apalis_imx6/apalis_imx6.c       |  2 +-
 .../toradex/colibri-imx6ull/colibri-imx6ull.c |  2 +-
 board/toradex/colibri_imx6/colibri_imx6.c     |  2 +-
 board/toradex/colibri_pxa270/colibri_pxa270.c |  8 +--
 cmd/cpu.c                                     |  2 +-
 cmd/pci.c                                     |  2 +-
 cmd/regulator.c                               | 20 ++++----
 common/lcd_simplefb.c                         |  2 +-
 common/usb_hub.c                              |  2 +-
 doc/driver-model/of-plat.rst                  | 10 ++--
 doc/driver-model/spi-howto.rst                | 16 +++---
 doc/driver-model/usb-info.rst                 |  8 +--
 drivers/adc/adc-uclass.c                      | 20 ++++----
 drivers/ata/ahci.c                            |  6 +--
 drivers/clk/altera/clk-agilex.c               | 50 +++++++++----------
 drivers/clk/altera/clk-arria10.c              | 18 +++----
 drivers/clk/at91/compat.c                     | 50 +++++++++----------
 drivers/core/regmap.c                         |  4 +-
 drivers/core/root.c                           |  6 +--
 drivers/core/syscon-uclass.c                  |  4 +-
 drivers/cpu/at91_cpu.c                        | 10 ++--
 drivers/cpu/bmips_cpu.c                       |  2 +-
 drivers/cpu/cpu-uclass.c                      |  2 +-
 drivers/cpu/cpu_sandbox.c                     |  2 +-
 drivers/cpu/imx8_cpu.c                        | 20 ++++----
 drivers/cpu/riscv_cpu.c                       |  2 +-
 drivers/ddr/altera/sdram_agilex.c             |  2 +-
 drivers/ddr/altera/sdram_gen5.c               |  8 +--
 drivers/ddr/altera/sdram_s10.c                |  2 +-
 drivers/ddr/altera/sdram_soc64.c              | 18 +++----
 drivers/ddr/altera/sdram_soc64.h              | 16 +++---
 drivers/gpio/altera_pio.c                     | 16 +++---
 drivers/gpio/at91_gpio.c                      |  4 +-
 drivers/gpio/atmel_pio4.c                     |  8 +--
 drivers/gpio/bcm2835_gpio.c                   |  6 +--
 drivers/gpio/da8xx_gpio.c                     |  6 +--
 drivers/gpio/da8xx_gpio.h                     |  2 +-
 drivers/gpio/dwapb_gpio.c                     | 18 +++----
 drivers/gpio/hi6220_gpio.c                    |  2 +-
 drivers/gpio/intel_broadwell_gpio.c           |  6 +--
 drivers/gpio/intel_ich6_gpio.c                |  6 +--
 drivers/gpio/iproc_gpio.c                     | 26 +++++-----
 drivers/gpio/mpc83xx_spisel_boot.c            |  4 +-
 drivers/gpio/mpc8xxx_gpio.c                   |  4 +-
 drivers/gpio/mt7621_gpio.c                    | 20 ++++----
 drivers/gpio/mxs_gpio.c                       |  8 +--
 drivers/gpio/nx_gpio.c                        | 30 +++++------
 drivers/gpio/omap_gpio.c                      |  8 +--
 drivers/gpio/pcf8575_gpio.c                   |  4 +-
 drivers/gpio/s5p_gpio.c                       |  8 +--
 drivers/gpio/sifive-gpio.c                    | 16 +++---
 drivers/gpio/sunxi_gpio.c                     | 18 +++----
 drivers/gpio/tegra186_gpio.c                  | 10 ++--
 drivers/gpio/tegra_gpio.c                     |  8 +--
 drivers/gpio/vybrid_gpio.c                    | 10 ++--
 drivers/gpio/xilinx_gpio.c                    | 22 ++++----
 drivers/gpio/zynq_gpio.c                      | 22 ++++----
 drivers/i2c/i2c-emul-uclass.c                 | 12 ++---
 drivers/i2c/omap24xx_i2c.c                    |  6 +--
 drivers/led/led_cortina.c                     |  8 +--
 drivers/misc/altera_sysid.c                   |  8 +--
 drivers/misc/fs_loader.c                      |  8 +--
 drivers/misc/microchip_flexcom.c              |  6 +--
 drivers/misc/p2sb-uclass.c                    | 10 ++--
 drivers/misc/p2sb_emul.c                      | 14 +++---
 drivers/misc/rockchip-efuse.c                 |  8 +--
 drivers/misc/rockchip-otp.c                   | 12 ++---
 drivers/misc/sandbox_adder.c                  |  2 +-
 drivers/misc/sifive-otp.c                     | 10 ++--
 drivers/misc/swap_case.c                      | 12 ++---
 drivers/mmc/meson_gx_mmc.c                    | 14 +++---
 drivers/mmc/meson_gx_mmc.h                    |  2 +-
 drivers/mmc/mxsmmc.c                          | 16 +++---
 drivers/mtd/altera_qspi.c                     | 22 ++++----
 drivers/mtd/spi/sandbox.c                     |  2 +-
 drivers/net/dwmac_socfpga.c                   |  8 +--
 drivers/net/fsl_enetc.c                       |  4 +-
 drivers/net/gmac_rockchip.c                   | 28 +++++------
 drivers/net/rtl8169.c                         |  2 +-
 drivers/nvme/nvme.c                           |  2 +-
 drivers/pci/pci-emul-uclass.c                 |  2 +-
 drivers/pci/pci-uclass.c                      | 26 +++++-----
 drivers/pci/pci_rom.c                         |  8 +--
 drivers/pci/pci_sandbox.c                     |  2 +-
 drivers/pci/pcie_mediatek.c                   |  2 +-
 drivers/pinctrl/intel/pinctrl.c               |  2 +-
 drivers/pinctrl/intel/pinctrl_apl.c           | 10 ++--
 drivers/pinctrl/pinctrl-at91-pio4.c           |  8 +--
 drivers/pinctrl/pinctrl-qe-io.c               | 10 ++--
 drivers/pinctrl/pinctrl-sti.c                 | 10 ++--
 drivers/pinctrl/renesas/pfc-r7s72100.c        |  8 +--
 drivers/power/acpi_pmc/acpi-pmc-uclass.c      |  2 +-
 drivers/power/acpi_pmc/pmc_emul.c             | 12 ++---
 drivers/power/acpi_pmc/sandbox.c              |  2 +-
 .../power/domain/imx8-power-domain-legacy.c   | 14 +++---
 drivers/power/domain/imx8m-power-domain.c     |  8 +--
 drivers/power/regulator/bd71837.c             | 22 ++++----
 drivers/power/regulator/fan53555.c            | 10 ++--
 drivers/power/regulator/fixed.c               |  4 +-
 drivers/power/regulator/gpio-regulator.c      | 16 +++---
 drivers/power/regulator/pfuze100.c            | 12 ++---
 drivers/power/regulator/regulator_common.c    |  6 +--
 drivers/power/regulator/regulator_common.h    | 10 ++--
 drivers/ram/rockchip/dmc-rk3368.c             |  4 +-
 drivers/ram/rockchip/sdram_rk3188.c           |  9 ++--
 drivers/ram/rockchip/sdram_rk322x.c           |  9 ++--
 drivers/ram/rockchip/sdram_rk3288.c           |  9 ++--
 drivers/ram/rockchip/sdram_rk3328.c           |  9 ++--
 drivers/ram/rockchip/sdram_rk3399.c           |  9 ++--
 drivers/rng/meson-rng.c                       | 12 ++---
 drivers/rng/rockchip_rng.c                    | 14 +++---
 drivers/rng/stm32mp1_rng.c                    | 16 +++---
 drivers/rtc/pl031.c                           | 10 ++--
 drivers/scsi/scsi-uclass.c                    |  2 +-
 drivers/scsi/scsi.c                           |  6 +--
 drivers/serial/altera_jtag_uart.c             | 14 +++---
 drivers/serial/altera_uart.c                  | 14 +++---
 drivers/serial/atmel_usart.c                  |  4 +-
 drivers/serial/lpc32xx_hsuart.c               |  2 +-
 drivers/serial/ns16550.c                      | 26 +++++-----
 drivers/serial/sandbox.c                      | 12 ++---
 drivers/serial/serial_arc.c                   | 14 +++---
 drivers/serial/serial_bcm283x_mu.c            |  6 +--
 drivers/serial/serial_bcm283x_pl011.c         |  4 +-
 drivers/serial/serial_coreboot.c              |  4 +-
 drivers/serial/serial_intel_mid.c             |  6 +--
 drivers/serial/serial_linflexuart.c           |  4 +-
 drivers/serial/serial_lpuart.c                | 38 +++++++-------
 drivers/serial/serial_mcf.c                   | 14 +++---
 drivers/serial/serial_meson.c                 | 16 +++---
 drivers/serial/serial_mvebu_a3700.c           | 16 +++---
 drivers/serial/serial_mxc.c                   | 14 +++---
 drivers/serial/serial_omap.c                  |  4 +-
 drivers/serial/serial_pl01x.c                 |  8 +--
 drivers/serial/serial_pxa.c                   | 10 ++--
 drivers/serial/serial_rockchip.c              | 14 +++---
 drivers/serial/serial_s5p.c                   | 16 +++---
 drivers/serial/serial_sh.c                    |  8 +--
 drivers/serial/serial_sifive.c                | 16 +++---
 drivers/serial/serial_stm32.c                 | 16 +++---
 drivers/serial/serial_stm32.h                 |  2 +-
 drivers/serial/serial_xuartlite.c             | 14 +++---
 drivers/serial/serial_zynq.c                  | 16 +++---
 drivers/soc/soc_ti_k3.c                       | 10 ++--
 drivers/sound/ivybridge_sound.c               |  2 +-
 drivers/spi/altera_spi.c                      | 10 ++--
 drivers/spi/atcspi200_spi.c                   |  2 +-
 drivers/spi/ath79_spi.c                       |  2 +-
 drivers/spi/atmel_spi.c                       | 18 +++----
 drivers/spi/bcm63xx_hsspi.c                   |  6 +--
 drivers/spi/bcm63xx_spi.c                     |  4 +-
 drivers/spi/bcmstb_spi.c                      |  8 +--
 drivers/spi/cadence_qspi.c                    | 14 +++---
 drivers/spi/cadence_qspi.h                    | 12 ++---
 drivers/spi/cadence_qspi_apb.c                | 18 +++----
 drivers/spi/cf_spi.c                          | 12 ++---
 drivers/spi/davinci_spi.c                     | 10 ++--
 drivers/spi/designware_spi.c                  | 10 ++--
 drivers/spi/exynos_spi.c                      | 14 +++---
 drivers/spi/fsl_dspi.c                        | 20 ++++----
 drivers/spi/fsl_espi.c                        |  8 +--
 drivers/spi/fsl_qspi.c                        |  2 +-
 drivers/spi/ich.c                             | 28 +++++------
 drivers/spi/kirkwood_spi.c                    | 18 +++----
 drivers/spi/mpc8xxx_spi.c                     |  6 +--
 drivers/spi/mscc_bb_spi.c                     |  2 +-
 drivers/spi/mvebu_a3700_spi.c                 | 20 ++++----
 drivers/spi/mxc_spi.c                         |  6 +--
 drivers/spi/mxs_spi.c                         |  8 +--
 drivers/spi/nxp_fspi.c                        |  2 +-
 drivers/spi/octeon_spi.c                      |  2 +-
 drivers/spi/omap3_spi.c                       |  4 +-
 drivers/spi/pic32_spi.c                       |  2 +-
 drivers/spi/renesas_rpc_spi.c                 |  8 +--
 drivers/spi/rk_spi.c                          | 20 ++++----
 drivers/spi/soft_spi.c                        | 18 +++----
 drivers/spi/spi-qup.c                         |  2 +-
 drivers/spi/spi-sifive.c                      |  8 +--
 drivers/spi/spi-sunxi.c                       | 12 ++---
 drivers/spi/spi-uclass.c                      | 15 +++---
 drivers/spi/stm32_qspi.c                      |  2 +-
 drivers/spi/stm32_spi.c                       |  2 +-
 drivers/spi/tegra114_spi.c                    | 12 ++---
 drivers/spi/tegra20_sflash.c                  | 12 ++---
 drivers/spi/tegra20_slink.c                   | 12 ++---
 drivers/spi/tegra210_qspi.c                   | 12 ++---
 drivers/spi/tegra_spi.h                       |  2 +-
 drivers/spi/ti_qspi.c                         |  8 +--
 drivers/spi/uniphier_spi.c                    | 14 +++---
 drivers/spi/xilinx_spi.c                      |  4 +-
 drivers/spi/zynq_qspi.c                       | 12 ++---
 drivers/spi/zynq_spi.c                        | 16 +++---
 drivers/spi/zynqmp_gqspi.c                    | 12 ++---
 drivers/sysreset/sysreset_x86.c               |  8 +--
 drivers/timer/ag101p_timer.c                  | 10 ++--
 drivers/timer/altera_timer.c                  | 10 ++--
 drivers/timer/atcpit100_timer.c               | 10 ++--
 drivers/timer/atmel_pit_timer.c               | 10 ++--
 drivers/timer/timer-uclass.c                  |  2 +-
 drivers/ufs/ufs.c                             |  2 +-
 drivers/usb/emul/sandbox_hub.c                | 12 ++---
 drivers/usb/emul/usb-emul-uclass.c            | 16 +++---
 drivers/usb/gadget/max3420_udc.c              |  2 +-
 drivers/usb/host/dwc3-sti-glue.c              | 18 +++----
 drivers/usb/host/ehci-atmel.c                 |  2 +-
 drivers/usb/host/ehci-exynos.c                | 10 ++--
 drivers/usb/host/ehci-fsl.c                   |  2 +-
 drivers/usb/host/ehci-marvell.c               |  2 +-
 drivers/usb/host/ehci-msm.c                   |  4 +-
 drivers/usb/host/ehci-mx5.c                   |  6 +--
 drivers/usb/host/ehci-mx6.c                   |  8 +--
 drivers/usb/host/ehci-omap.c                  |  6 +--
 drivers/usb/host/ehci-pci.c                   |  2 +-
 drivers/usb/host/ehci-tegra.c                 |  4 +-
 drivers/usb/host/ehci-vf.c                    |  4 +-
 drivers/usb/host/ehci-zynq.c                  |  4 +-
 drivers/usb/host/ohci-pci.c                   |  2 +-
 drivers/usb/host/usb-uclass.c                 | 14 +++---
 drivers/usb/host/xhci-brcm.c                  |  8 +--
 drivers/usb/host/xhci-dwc3.c                  |  8 +--
 drivers/usb/host/xhci-exynos5.c               | 10 ++--
 drivers/usb/host/xhci-fsl.c                   |  2 +-
 drivers/usb/host/xhci-mvebu.c                 | 10 ++--
 drivers/usb/host/xhci-pci.c                   |  2 +-
 drivers/usb/host/xhci-rcar.c                  | 12 ++---
 drivers/usb/musb-new/da8xx.c                  |  8 +--
 drivers/usb/musb-new/mt85xx.c                 |  2 +-
 drivers/usb/musb-new/omap2430.c               |  8 +--
 drivers/usb/musb-new/pic32.c                  |  2 +-
 drivers/usb/musb-new/sunxi.c                  |  2 +-
 drivers/usb/musb-new/ti-musb.c                | 16 +++---
 drivers/video/am335x-fb.c                     |  6 +--
 drivers/video/atmel_hlcdfb.c                  |  4 +-
 drivers/video/atmel_lcdfb.c                   |  8 +--
 drivers/video/bcm2835.c                       |  2 +-
 drivers/video/broadwell_igd.c                 |  4 +-
 drivers/video/coreboot.c                      |  2 +-
 drivers/video/efi.c                           |  2 +-
 drivers/video/exynos/exynos_fb.c              |  4 +-
 drivers/video/fsl_dcu_fb.c                    |  4 +-
 drivers/video/imx/mxc_ipuv3_fb.c              |  6 +--
 drivers/video/ivybridge_igd.c                 |  4 +-
 drivers/video/mali_dp.c                       |  4 +-
 drivers/video/meson/meson_plane.c             |  2 +-
 drivers/video/meson/meson_vpu.c               |  4 +-
 drivers/video/mvebu_lcd.c                     |  4 +-
 drivers/video/mxsfb.c                         |  6 +--
 drivers/video/nexell_display.c                | 18 +++----
 drivers/video/rockchip/rk_vop.c               |  4 +-
 drivers/video/sandbox_sdl.c                   |  4 +-
 drivers/video/simplefb.c                      |  2 +-
 drivers/video/stm32/stm32_ltdc.c              |  4 +-
 drivers/video/sunxi/sunxi_de2.c               |  6 +--
 drivers/video/tegra.c                         |  4 +-
 drivers/video/tegra124/display.c              |  4 +-
 drivers/video/vesa.c                          |  4 +-
 drivers/video/video-uclass.c                  |  8 +--
 drivers/virtio/virtio_pci_legacy.c            |  2 +-
 drivers/virtio/virtio_pci_modern.c            |  2 +-
 drivers/watchdog/xilinx_tb_wdt.c              | 12 ++---
 drivers/watchdog/xilinx_wwdt.c                |  8 +--
 drivers/xen/pvblock.c                         |  8 +--
 include/atmel_lcd.h                           |  4 +-
 include/cpu.h                                 |  4 +-
 include/dm/platform_data/fsl_espi.h           |  2 +-
 include/dm/platform_data/lpc32xx_hsuart.h     |  4 +-
 include/dm/platform_data/pxa_mmc_gen.h        |  2 +-
 include/dm/platform_data/serial_bcm283x_mu.h  |  2 +-
 include/dm/platform_data/serial_coldfire.h    |  4 +-
 include/dm/platform_data/serial_mxc.h         |  2 +-
 include/dm/platform_data/serial_pl01x.h       |  2 +-
 include/dm/platform_data/serial_pxa.h         |  4 +-
 include/dm/platform_data/serial_sh.h          |  2 +-
 include/dm/platform_data/spi_coldfire.h       |  4 +-
 include/dm/platform_data/spi_davinci.h        |  2 +-
 include/dm/root.h                             |  4 +-
 include/fs_loader.h                           |  2 +-
 include/ns16550.h                             |  6 +--
 include/p2sb.h                                |  4 +-
 include/pci.h                                 |  4 +-
 include/power/acpi_pmc.h                      |  2 +-
 include/regmap.h                              |  6 +--
 include/scsi.h                                |  4 +-
 include/spi.h                                 |  7 ++-
 include/syscon.h                              |  2 +-
 include/usb.h                                 | 12 ++---
 include/vbe.h                                 |  4 +-
 include/video.h                               |  6 +--
 lib/acpi/acpi_device.c                        |  2 +-
 lib/efi_driver/efi_block_device.c             | 10 ++--
 lib/smbios.c                                  |  2 +-
 test/dm/acpi.c                                | 10 ++--
 test/dm/core.c                                |  8 +--
 test/dm/of_platdata.c                         | 20 ++++----
 test/dm/test-main.c                           |  4 +-
 358 files changed, 1404 insertions(+), 1411 deletions(-)

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


More information about the U-Boot mailing list