Name

bus_unregister — remove a bus from the system

Synopsis

void bus_unregister (struct bus_type *  bus);

Arguments

bus

bus.

Description

Unregister the child subsystems and the bus itself. Finally, we call bus_put to release the refcount