]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: Access device ofnode through functions
authorSimon Glass <sjg@chromium.org>
Sat, 19 Dec 2020 17:40:14 +0000 (10:40 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 5 Jan 2021 19:24:41 +0000 (12:24 -0700)
commitf10643cf8a4ca006d1ad194e930cd292fd869d17
tree66cd9383fc5dbd8e02f999d1db5562995f441b21
parent7d14ee443ca674314e0fe5c3e25f48e52a8fd5ee
dm: core: Access device ofnode through functions

At present ofnode is present in the device even if it is never used. With
of-platdata this field is not used, so can be removed. In preparation for
this, change the access to go through inline functions.

Signed-off-by: Simon Glass <sjg@chromium.org>
50 files changed:
arch/arm/mach-stm32mp/pwr_regulator.c
board/synopsys/hsdk/clk-lib.c
drivers/ata/mtk_ahci.c
drivers/clk/meson/axg.c
drivers/clk/meson/g12a.c
drivers/clk/meson/gxbb.c
drivers/core/device.c
drivers/core/root.c
drivers/gpio/mpc8xxx_gpio.c
drivers/gpio/octeon_gpio.c
drivers/misc/swap_case.c
drivers/mmc/octeontx_hsmmc.c
drivers/mtd/nand/raw/octeontx_nand.c
drivers/mtd/nand/spi/core.c
drivers/net/fm/eth.c
drivers/net/fsl_enetc.c
drivers/net/fsl_enetc_mdio.c
drivers/net/mdio-ipq4019.c
drivers/net/mdio_mux_i2creg.c
drivers/net/mvmdio.c
drivers/net/octeontx/smi.c
drivers/net/tsec.c
drivers/phy/phy-ti-am654.c
drivers/power/domain/meson-ee-pwrc.c
drivers/power/domain/meson-gx-pwrc-vpu.c
drivers/power/regulator/pbias_regulator.c
drivers/pwm/pwm-meson.c
drivers/reset/reset-socfpga.c
drivers/spi/fsl_dspi.c
drivers/tee/optee/core.c
drivers/usb/cdns3/core.c
drivers/usb/dwc3/core.c
drivers/usb/dwc3/dwc3-generic.c
drivers/usb/dwc3/dwc3-meson-g12a.c
drivers/usb/dwc3/dwc3-meson-gxl.c
drivers/usb/gadget/dwc2_udc_otg.c
drivers/usb/host/dwc3-octeon-glue.c
drivers/usb/host/dwc3-sti-glue.c
drivers/usb/host/ehci-mx6.c
drivers/usb/host/xhci-dwc3.c
drivers/usb/mtu3/mtu3_core.c
drivers/usb/mtu3/mtu3_plat.c
drivers/usb/musb-new/ti-musb.c
drivers/video/nexell_display.c
drivers/video/rockchip/rk_mipi.c
include/dm/device.h
include/dm/read.h
include/linux/mtd/mtd.h
net/mdio-mux-uclass.c
net/mdio-uclass.c