/* pnp_unregister_card_driver - unregisters a PnP card driver from the PnP Layer @drv: pointer to the driver to unregister  */
void pnp_unregister_card_driver(struct pnp_card_driver *drv)
/* pnp_unregister_card_driver - unregisters a PnP card driver from the PnP Layer @drv: pointer to the driver to unregister  */
void pnp_unregister_card_driver(struct pnp_card_driver *drv)
{
	spin_lock(&pnp_lock);
	list_del(&drv->global_list);
	spin_unlock(&pnp_lock);
	pnp_unregister_driver(&drv->link);
}