/* Called by hardware driver to unregister itself from the CAPI subsystem.  */
void unregister_capi_driver(struct capi_driver *driver)
/* Called by hardware driver to unregister itself from the CAPI subsystem.  */
void unregister_capi_driver(struct capi_driver *driver)
{
	unsigned long flags;
	write_lock_irqsave(&capi_drivers_list_lock, flags);
	list_del(&driver->list);
	write_unlock_irqrestore(&capi_drivers_list_lock, flags);
}