HomeFreeBSD

Use bus_generic_detach instead of device_delete_children in detach

Description

Use bus_generic_detach instead of device_delete_children in detach

While here, check for errors from bus_generic_detach and move it to
the start of detach if necessary.

Differential Revision: https://reviews.freebsd.org/D47969

Details

Provenance
jhbAuthored on Thu, Jan 2, 6:24 PM
Differential Revision
D47969: Use bus_generic_detach instead of device_delete_children in detach
Parents
rG20f932af2973: bhnd bcma/siba: Remove duplicate call to device_delete_children
Branches
Unknown
Tags
Unknown