1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-12 10:31:15 +01:00
Files
u-boot-megous/drivers/misc
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
..
2021-01-30 14:25:41 -07:00
2021-01-30 14:25:41 -07:00
2018-11-14 09:16:27 -08:00
2017-01-21 15:12:33 -05:00
2018-11-14 09:16:27 -08:00
2019-02-09 12:50:22 -07:00
2020-05-18 21:19:18 -04:00
2021-03-22 19:23:27 +13:00