]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: Use access methods for dev/uclass private data
authorSimon Glass <sjg@chromium.org>
Wed, 23 Dec 2020 02:30:28 +0000 (19:30 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 5 Jan 2021 19:24:40 +0000 (12:24 -0700)
commit0fd3d91152df5bb6c5f7b9ee68f01a9a1c9a875d
tree1dbc5b936b98393e343cc99a40382b2734ac778e
parent12559f5bab3e43b603dccfa6c354ffd7da03249c
dm: Use access methods for dev/uclass private data

Most drivers use these access methods but a few do not. Update them.

In some cases the access is not permitted, so mark those with a FIXME tag
for the maintainer to check.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Pratyush Yadav <p.yadav@ti.com>
113 files changed:
arch/arm/cpu/armv7/ls102xa/fdt.c
arch/arm/mach-stm32mp/pwr_regulator.c
arch/x86/cpu/apollolake/uart.c
arch/x86/cpu/slimbootloader/serial.c
drivers/clk/clk.c
drivers/clk/clk_fixed_rate.c
drivers/clk/rockchip/clk_px30.c
drivers/clk/rockchip/clk_rk3036.c
drivers/clk/rockchip/clk_rk3128.c
drivers/clk/rockchip/clk_rk3188.c
drivers/clk/rockchip/clk_rk322x.c
drivers/clk/rockchip/clk_rk3288.c
drivers/clk/rockchip/clk_rk3308.c
drivers/clk/rockchip/clk_rk3328.c
drivers/clk/rockchip/clk_rk3368.c
drivers/clk/rockchip/clk_rk3399.c
drivers/clk/rockchip/clk_rv1108.c
drivers/core/device-remove.c
drivers/ddr/altera/sdram_agilex.c
drivers/ddr/altera/sdram_gen5.c
drivers/ddr/altera/sdram_s10.c
drivers/ddr/altera/sdram_soc64.c
drivers/gpio/dwapb_gpio.c
drivers/gpio/gpio-uclass.c
drivers/gpio/hi6220_gpio.c
drivers/gpio/imx_rgpio2p.c
drivers/gpio/lpc32xx_gpio.c
drivers/gpio/mt7621_gpio.c
drivers/gpio/mxs_gpio.c
drivers/gpio/omap_gpio.c
drivers/gpio/s5p_gpio.c
drivers/gpio/sandbox.c
drivers/gpio/sunxi_gpio.c
drivers/gpio/tegra186_gpio.c
drivers/gpio/tegra_gpio.c
drivers/misc/altera_sysid.c
drivers/misc/cros_ec_sandbox.c
drivers/misc/fs_loader.c
drivers/misc/vexpress_config.c
drivers/mmc/arm_pl180_mmci.c
drivers/mmc/mxsmmc.c
drivers/mmc/octeontx_hsmmc.c
drivers/mux/mmio.c
drivers/net/eth-phy-uclass.c
drivers/net/fm/eth.c
drivers/net/fsl_mcdmafec.c
drivers/net/mcffec.c
drivers/net/mcfmii.c
drivers/net/pfe_eth/pfe_eth.c
drivers/net/sunxi_emac.c
drivers/net/tsec.c
drivers/net/xilinx_emaclite.c
drivers/pci/pci-emul-uclass.c
drivers/pci/pci-uclass.c
drivers/pinctrl/pinctrl-qe-io.c
drivers/pinctrl/pinctrl-single.c
drivers/power/regulator/da9063.c
drivers/power/regulator/pbias_regulator.c
drivers/remoteproc/rproc-uclass.c
drivers/reset/reset-mediatek.c
drivers/reset/reset-rockchip.c
drivers/reset/reset-sifive.c
drivers/reset/reset-sunxi.c
drivers/serial/altera_jtag_uart.c
drivers/serial/altera_uart.c
drivers/serial/atmel_usart.c
drivers/serial/ns16550.c
drivers/serial/sandbox.c
drivers/serial/serial_arc.c
drivers/serial/serial_linflexuart.c
drivers/serial/serial_lpuart.c
drivers/serial/serial_mcf.c
drivers/serial/serial_meson.c
drivers/serial/serial_mxc.c
drivers/serial/serial_omap.c
drivers/serial/serial_pxa.c
drivers/serial/serial_rockchip.c
drivers/serial/serial_s5p.c
drivers/spi/cadence_qspi.c
drivers/spi/cf_spi.c
drivers/spi/davinci_spi.c
drivers/spi/designware_spi.c
drivers/spi/exynos_spi.c
drivers/spi/fsl_dspi.c
drivers/spi/fsl_espi.c
drivers/spi/fsl_qspi.c
drivers/spi/mxs_spi.c
drivers/spi/pl022_spi.c
drivers/spi/rk_spi.c
drivers/spi/soft_spi.c
drivers/spi/tegra114_spi.c
drivers/spi/tegra20_sflash.c
drivers/spi/tegra20_slink.c
drivers/spi/tegra210_qspi.c
drivers/spi/uniphier_spi.c
drivers/spi/zynq_qspi.c
drivers/spi/zynq_spi.c
drivers/spi/zynqmp_gqspi.c
drivers/timer/ag101p_timer.c
drivers/timer/altera_timer.c
drivers/timer/andes_plmt_timer.c
drivers/timer/mpc83xx_timer.c
drivers/timer/sifive_clint_timer.c
drivers/timer/timer-uclass.c
drivers/usb/gadget/ether.c
drivers/usb/host/usb-uclass.c
drivers/video/video-uclass.c
lib/efi_loader/efi_device_path.c
net/eth-uclass.c
test/dm/core.c
test/dm/test-driver.c
test/dm/test-fdt.c
test/dm/test-uclass.c