]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: Avoid accessing seq directly
authorSimon Glass <sjg@chromium.org>
Thu, 17 Dec 2020 04:20:07 +0000 (21:20 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 19 Dec 2020 03:32:21 +0000 (20:32 -0700)
commit8b85dfc675f12de8d04126c07f3c796965b990c2
tree9b8d6df956b02734a1b910b0a4c072e1e80b672a
parent0b2fa98aa5e5dbdac4f5e2b2f67a34cc34dcc6b8
dm: Avoid accessing seq directly

At present various drivers etc. access the device's 'seq' member directly.
This makes it harder to change the meaning of that member. Change access
to go through a function instead.

The drivers/i2c/lpc32xx_i2c.c file is left unchanged for now.

Signed-off-by: Simon Glass <sjg@chromium.org>
98 files changed:
arch/arm/include/asm/mach-imx/mxc_i2c.h
arch/x86/cpu/broadwell/cpu_full.c
arch/x86/cpu/ivybridge/model_206ax.c
board/xilinx/versal/board.c
board/xilinx/zynqmp/zynqmp.c
cmd/axi.c
cmd/cpu.c
cmd/i2c.c
cmd/misc.c
cmd/osd.c
cmd/pci.c
cmd/pmic.c
cmd/remoteproc.c
cmd/w1.c
drivers/core/device.c
drivers/core/dump.c
drivers/core/uclass.c
drivers/gpio/octeon_gpio.c
drivers/i2c/ast_i2c.c
drivers/i2c/davinci_i2c.c
drivers/i2c/exynos_hs_i2c.c
drivers/i2c/i2c-gpio.c
drivers/i2c/imx_lpi2c.c
drivers/i2c/lpc32xx_i2c.c
drivers/i2c/mxc_i2c.c
drivers/i2c/nx_i2c.c
drivers/i2c/octeon_i2c.c
drivers/i2c/s3c24x0_i2c.c
drivers/i2c/tegra_i2c.c
drivers/mmc/fsl_esdhc_imx.c
drivers/mtd/spi/sandbox.c
drivers/net/fec_mxc.c
drivers/net/fsl-mc/mc.c
drivers/net/fsl_mcdmafec.c
drivers/net/ftgmac100.c
drivers/net/higmacv300.c
drivers/net/mcffec.c
drivers/net/octeontx/nicvf_main.c
drivers/net/octeontx/smi.c
drivers/net/octeontx2/nix.c
drivers/net/octeontx2/rvu_pf.c
drivers/net/xilinx_axi_emac.c
drivers/net/xilinx_emaclite.c
drivers/net/zynq_gem.c
drivers/pci/pci-aardvark.c
drivers/pci/pci-uclass.c
drivers/pci/pci_auto.c
drivers/pci/pcie_dw_mvebu.c
drivers/pci/pcie_dw_ti.c
drivers/pci/pcie_ecam_generic.c
drivers/pci/pcie_fsl.c
drivers/pci/pcie_intel_fpga.c
drivers/pci/pcie_layerscape_fixup.c
drivers/pci/pcie_layerscape_gen4.c
drivers/pci/pcie_layerscape_gen4_fixup.c
drivers/pci/pcie_layerscape_rc.c
drivers/pci/pcie_mediatek.c
drivers/pci/pcie_rockchip.c
drivers/serial/serial_mcf.c
drivers/serial/serial_s5p.c
drivers/spi/altera_spi.c
drivers/spi/cf_spi.c
drivers/spi/fsl_dspi.c
drivers/spi/fsl_espi.c
drivers/spi/octeon_spi.c
drivers/spi/pic32_spi.c
drivers/spi/sandbox_spi.c
drivers/spi/tegra114_spi.c
drivers/spi/tegra20_sflash.c
drivers/spi/tegra20_slink.c
drivers/spi/tegra210_qspi.c
drivers/spi/xilinx_spi.c
drivers/spi/zynq_qspi.c
drivers/spi/zynq_spi.c
drivers/usb/gadget/max3420_udc.c
drivers/usb/host/ehci-mx5.c
drivers/usb/host/ehci-mx6.c
drivers/usb/host/ehci-omap.c
drivers/usb/host/ehci-vf.c
drivers/usb/host/usb-sandbox.c
drivers/usb/host/usb-uclass.c
drivers/video/vidconsole-uclass.c
drivers/virtio/virtio-uclass.c
drivers/watchdog/ast_wdt.c
drivers/watchdog/at91sam9_wdt.c
drivers/watchdog/cdns_wdt.c
drivers/watchdog/omap_wdt.c
drivers/watchdog/orion_wdt.c
drivers/watchdog/sbsa_gwdt.c
drivers/watchdog/sp805_wdt.c
drivers/watchdog/tangier_wdt.c
drivers/watchdog/xilinx_tb_wdt.c
drivers/watchdog/xilinx_wwdt.c
include/dm/device.h
include/pci.h
include/spi.h
lib/efi_loader/efi_device_path.c
net/eth-uclass.c