]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: Replace of_offset with accessor (part 2)
authorSimon Glass <sjg@chromium.org>
Wed, 17 May 2017 23:18:09 +0000 (17:18 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2017 13:03:04 +0000 (07:03 -0600)
commitda409ccc4ae62a0bf7111e2f4419fdbfd1ba3d89
tree19067ef92401a002a53be1388fcd7842d3c52ecb
parenta771a04f2eb34934a058a6c06319bd8bc5cb5fb8
dm: core: Replace of_offset with accessor (part 2)

At present devices use a simple integer offset to record the device tree
node associated with the device. In preparation for supporting a live
device tree, which uses a node pointer instead, refactor existing code to
access this field through an inline function.

Signed-off-by: Simon Glass <sjg@chromium.org>
24 files changed:
arch/arm/mach-rockchip/rk3188/sdram_rk3188.c
arch/arm/mach-rockchip/rk3399/sdram_rk3399.c
drivers/block/dwc_ahci.c
drivers/clk/clk_zynq.c
drivers/core/regmap.c
drivers/firmware/psci.c
drivers/gpio/intel_ich6_gpio.c
drivers/mmc/mmc-uclass.c
drivers/mmc/sdhci-cadence.c
drivers/mmc/zynq_sdhci.c
drivers/net/phy/phy.c
drivers/net/phy/ti.c
drivers/net/sun8i_emac.c
drivers/phy/ti-pipe3-phy.c
drivers/pinctrl/pinctrl-at91.c
drivers/pinctrl/pinctrl-single.c
drivers/pinctrl/pinctrl_stm32.c
drivers/pinctrl/rockchip/pinctrl_rk3188.c
drivers/pinctrl/rockchip/pinctrl_rk3328.c
drivers/ram/stm32_sdram.c
drivers/serial/serial_lpuart.c
drivers/spi/ti_qspi.c
drivers/timer/arc_timer.c
drivers/video/atmel_hlcdfb.c