/* The attach() and detach() entry points are used to create and destroy "instances" of the driver, where each instance represents everything needed to manage one actual PCMCIA card.  */
static void teles_detach(struct pcmcia_device *p_dev)
/* The attach() and detach() entry points are used to create and destroy "instances" of the driver, where each instance represents everything needed to manage one actual PCMCIA card.  */
static void teles_detach(struct pcmcia_device *p_dev)
{
	local_info_t *info = link->priv;
	dev_dbg(&link->dev, "teles_detach(0x%p)\n", link);
	info->busy = 1;
	teles_cs_release(link);
	kfree(info);
}