pci_release_regions(pdev); 
pci_release_region(pdev, 2); pci_release_region(pdev, 0); 
static void __devexit radeonfb_pci_unregister (struct pci_dev *pdev){        struct fb_info *info = pci_get_drvdata(pdev);        struct radeonfb_info *rinfo = info->par;         if (!rinfo)                return; 	radeonfb_pm_exit(rinfo);	if (rinfo->mon1_EDID)		sysfs_remove_bin_file(&rinfo->pdev->dev.kobj, &edid1_attr);	if (rinfo->mon2_EDID)		sysfs_remove_bin_file(&rinfo->pdev->dev.kobj, &edid2_attr);#if 0	/* restore original state	 * 	 * Doesn't quite work yet, I suspect if we come from a legacy	 * VGA mode (or worse, text mode), we need to do some VGA black	 * magic here that I know nothing about. --BenH	 */        radeon_write_mode (rinfo, &rinfo->init_state, 1); #endif	del_timer_sync(&rinfo->lvds_timer);#ifdef CONFIG_MTRR	if (rinfo->mtrr_hdl >= 0)		mtrr_del(rinfo->mtrr_hdl, 0, 0);#endif        unregister_framebuffer(info);        iounmap(rinfo->mmio_base);        iounmap(rinfo->fb_base);  	pci_release_regions(pdev);	kfree(rinfo->mon1_EDID);	kfree(rinfo->mon2_EDID);	if (rinfo->mon1_modedb)		fb_destroy_modedb(rinfo->mon1_modedb);#ifdef CONFIG_FB_RADEON_I2C	radeon_delete_i2c_busses(rinfo);#endif        	fb_dealloc_cmap(&info->cmap);        framebuffer_release(info);	pci_disable_device(pdev);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/5251bffc9b4ca699993c79166adf02faf1bbc043/radeon_base.c/clean/drivers/video/aty/radeon_base.c