u-boot-brain/include/dm
Simon Glass b06750501f dm: core: Add uclass_first_device_err() to return a valid device
A common pattern is to call uclass_first_device() and then check if it
actually returns a device. Add a new function which does this, returning
an error if there are no devices in that uclass.

Signed-off-by: Simon Glass <sjg@chromium.org>
2016-03-14 15:34:50 -06:00
..
platform_data stm32x7: add support for stm32x7 serial driver 2016-02-24 18:43:54 -05:00
device-internal.h dm: Remove device_probe_child() 2016-01-28 21:01:23 -07:00
device.h dm: core: Add a new api to get indexed device address 2016-01-13 18:54:22 +05:30
lists.h dm: core: allow device_bind() to not return a device pointer 2015-08-31 07:57:29 -06:00
pinctrl.h dm: pinctrl: Add a way for a GPIO driver to obtain a pin function 2016-01-21 20:42:35 -07:00
platdata.h dm: Add platform data advice and admonishment 2015-07-21 17:39:30 -06:00
root.h dm: Add dm_scan_other() to locate board-specific devices 2014-07-23 14:08:37 +01:00
test.h video: sandbox: Allow selection of font size and console name 2016-01-30 10:57:30 +01:00
uclass-id.h dm: implement a DMA uclass 2016-02-23 16:14:45 +05:30
uclass-internal.h dm: core: Export uclass_find_device_by_of_offset() 2016-01-21 20:42:35 -07:00
uclass.h dm: core: Add uclass_first_device_err() to return a valid device 2016-03-14 15:34:50 -06:00
util.h devres: add debug command to dump device resources 2015-08-06 07:44:29 -06:00