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 put_bus to release the refcount