]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
dm: core: allow device_bind() to not return a device pointer
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 27 Aug 2015 03:44:28 +0000 (12:44 +0900)
committerSimon Glass <sjg@chromium.org>
Mon, 31 Aug 2015 13:57:29 +0000 (07:57 -0600)
commite6cabe4a6d142ab981bd31bff0795ed230caf151
treeb06fc2afa6bf4c2e43b0fda2aaf776dec5a3472a
parentf6ac9f1f666a291358f8a402a3d49217ddaef80d
dm: core: allow device_bind() to not return a device pointer

This is useful when we want to bind a device, but do not need the
pointer to the device.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/core/device.c
include/dm/device-internal.h
include/dm/lists.h