u-boot/drivers/core
Masahiro Yamada f724e0bba2 dm: core: remove unnecessary return condition in driver lookup
The variable "drv" never becomes NULL because ll_entry_start()
always returns a valid pointer even if there are no entries.

The case "n_ents == 0" is covered by the following "for" loop.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Simon Glass <sjg@chromium.org>
2014-11-22 10:16:49 +01:00
..
device-remove.c dm: Allow device removal features to be dropped 2014-11-21 08:13:02 +01:00
device.c dm: core: Add functions to find parent and OF data 2014-11-22 10:16:47 +01:00
Kconfig dm: add entries to Kconfig 2014-10-23 21:43:09 -06:00
lists.c dm: core: remove unnecessary return condition in driver lookup 2014-11-22 10:16:49 +01:00
Makefile dm: Allow device removal features to be dropped 2014-11-21 08:13:02 +01:00
root.c dm: core: a trivial clean up 2014-11-22 10:16:48 +01:00
simple-bus.c dm: core: Add support for simple-bus 2014-10-22 10:36:56 -06:00
uclass.c dm: do not check the existence of uclass operation 2014-10-22 10:32:16 -06:00
util.c dm: Add base driver model support 2014-03-04 12:15:29 -05:00