u-boot/drivers/core
Simon Glass cc469b7086 dm: Rename device_get_by_driver_info_idx()
This function finds a device by its driver_info index. With
of-platdata-inst we do not use driver_info, but instead instantiate
udevice records at build-time.

However the semantics of using the function are the same in each case:
the caller provides an index and gets back a device.

So rename the function to device_get_by_ofplat_idx(), so that it can be
used for both situations. The caller does not really need to worry about
the details.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
2021-03-26 17:03:08 +13:00
..
acpi.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
device-remove.c Merge branch '2021-02-02-drop-asm_global_data-when-unused' 2021-02-15 10:16:45 -05:00
device.c dm: Rename device_get_by_driver_info_idx() 2021-03-26 17:03:08 +13:00
devres.c dm: core: Access device flags through functions 2021-01-05 12:24:41 -07:00
dump.c dm: core: Access device flags through functions 2021-01-05 12:24:41 -07:00
fdtaddr.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
Kconfig x86: Move INTEL_ACPIGEN to arch/x86 2021-03-09 09:42:12 +08:00
lists.c dm: core: Add logging when lists_bind_fdt() fails 2021-01-05 12:24:41 -07:00
Makefile dm: Avoid using #ifdef for CONFIG_OF_LIVE 2020-10-29 14:42:17 -06:00
of_access.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
of_addr.c dm: error handling dev_get_dma_range() 2021-03-22 19:23:26 +13:00
of_extra.c dm: core: Update ofnode_read_fmap_entry() to read hashes 2021-01-30 14:25:42 -07:00
ofnode.c dm: Introduce xxx_get_dma_range() 2021-02-18 11:56:25 +01:00
read.c dm: Introduce xxx_get_dma_range() 2021-02-18 11:56:25 +01:00
read_extra.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
regmap.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
root.c dm: core: Set up driver model for OF_PLATDATA_INST 2021-03-22 19:23:28 +13:00
simple-bus.c dm: core: Move priv/plat structs for simple_bus to headers 2021-01-05 12:24:41 -07:00
simple-pm-bus.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
syscon-uclass.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
uclass.c dm: core: Drop uclass_find_device_by_phandle() with of-platdata 2021-03-26 17:03:08 +13:00
util.c dm: core: Allow dm_warn() to be used in SPL 2020-10-29 14:42:17 -06:00