logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

BUS_CHILD_DETACHED — notify a bus device that a child was detached

Description

       The  BUS_CHILD_DETACHED()  method  is invoked by the new-bus framework after a device is detached.  A bus
       driver can provide an implementation of this method to reclaim any resources allocated on behalf  of  the
       child or to cleanup state not properly released by a DEVICE_DETACH(9) method.

Name

       BUS_CHILD_DETACHED — notify a bus device that a child was detached

See Also

device(9), DEVICE_DETACH(9)

Debian                                           August 21, 2012                           BUS_CHILD_DETACHED(9)

Synopsis

#include<sys/param.h>#include<sys/bus.h>voidBUS_CHILD_DETACHED(device_tdev, device_tchild);

See Also