]> git.baikalelectronics.ru Git - uboot.git/commit
device: expose the functions used to remove and unbind children of a device
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Thu, 9 Aug 2018 14:17:45 +0000 (16:17 +0200)
committerMarek Vasut <marex@denx.de>
Tue, 21 Aug 2018 14:21:37 +0000 (16:21 +0200)
commitabef183f276f6e50fbc790f392ced4557bac9b4c
tree79f1d053520c4b767421d9034555231c000c14bb
parente4c258865cab4606f31acf5792b154bab92b17fc
device: expose the functions used to remove and unbind children of a device

Also add a 'drv' parameter to filter the children to remove/unbind.
Exporting those functions is a preparatory work for the addition of the
bind/unbind commands.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
drivers/core/device-remove.c
include/dm/device-internal.h