/* Called by main module to unregister the device from the LL.  */
void gigaset_isdn_unregister(struct cardstate *cs)
/* Called by main module to unregister the device from the LL.  */
void gigaset_isdn_unregister(struct cardstate *cs)
{
	struct gigaset_capi_ctr *iif = cs->iif;
	detach_capi_ctr(&iif->ctr);
	kfree(iif);
	cs->iif = NULL;
	unregister_capi_driver(&capi_driver_gigaset);
}