/* pnp_release_card_device - call this when the driver no longer needs the device @dev: pointer to the PnP device stucture  */
void pnp_release_card_device(struct pnp_dev *dev)
/* pnp_release_card_device - call this when the driver no longer needs the device @dev: pointer to the PnP device stucture  */
void pnp_release_card_device(struct pnp_dev *dev)
{
	struct pnp_card_driver *drv = dev->card_link->driver;
	drv->link.remove = &card_remove;
	device_release_driver(&dev->dev);
	drv->link.remove = &card_remove_first;
}