]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: core: add internal functions for getting the device without probe
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Wed, 15 Apr 2015 11:07:17 +0000 (13:07 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:30:09 +0000 (22:30 +0200)
commitaa35e4dcd2b9e9e22003d07883a4ffda2e1e0256
tree3266c7fe45db78a4145e6a39a7d776eb886d5963
parent240a3fb7558014d4e67bcc82d776ab3e8cee9096
dm: core: add internal functions for getting the device without probe

This commit extends the uclass-internal functions by:
- uclass_find_first_device()
- uclass_find_next_device()
For both functions, the returned device is not probed.

After some cleanup, the above functions are called by:
- uclass_first_device()
- uclass_next_device()
for which, the returned device is probed.

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/core/uclass.c
include/dm/uclass-internal.h