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)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 10:19:18 +0000 (12:19 +0200)
commite439af81804d15fd95f804205184a9ff3e15b72a
treedc92c191bdcc3e8b2b3d0218ba897c72ba5ef288
parent5c0726c75da21dc61c2180a80fa2e9fab8db1d7f
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