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)
commit3be9bcb04883497b422f3f2e4a468657056dd48d
tree79f1d053520c4b767421d9034555231c000c14bb
parent7ec9181d6a2b68480a289c36e5729487f2a4add1
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