u-boot/drivers/core
Masahiro Yamada 29a1bedbf3 dm: do not check the existence of uclass operation
The function uclass_add() checks uc_drv->ops as follows:

        if (uc_drv->ops) {
                dm_warn("No ops for uclass id %d\n", id);
                return -EINVAL;
        }

It seems odd because it warns "No ops" when uc_drv->ops has
non-NULL pointer.  (Looks opposite.)

Anyway, most of UCLASS_DRIVER entries have no .ops member.
This check makes no sense.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Simon Glass <sjg@chromium.org>
2014-10-22 10:32:16 -06:00
..
device.c dm: avoid dev->req_seq overflow 2014-09-23 12:44:31 -06:00
Kconfig kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
lists.c dm: Adjust lists_bind_fdt() to return the bound device 2014-09-10 12:59:59 -06:00
Makefile kbuild: refactor some makefiles 2014-09-24 18:30:29 -04:00
root.c dm: Adjust lists_bind_fdt() to return the bound device 2014-09-10 12:59:59 -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