linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* REPOST PATCH: radeon_del_edid.patch
@ 2005-06-23 19:43 Jon Smirl
  0 siblings, 0 replies; only message in thread
From: Jon Smirl @ 2005-06-23 19:43 UTC (permalink / raw)
  To: fbdev, Benjamin Herrenschmidt

What is the status of this patch? It hasn't made it into linus' tree yet.

--
Jon Smirl
jonsmirl@gmail.com

#radeonfb does not clean up EDID sysfs attribute
#Signed-off-by: Jon Smirl <jonsmirl@gmail.com>
diff --git a/drivers/video/aty/radeon_base.c b/drivers/video/aty/radeon_base.c
--- a/drivers/video/aty/radeon_base.c
+++ b/drivers/video/aty/radeon_base.c
@@ -2522,6 +2522,11 @@ static void __devexit radeonfb_pci_unreg
  
 	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
 	 *


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id\x16492&op=click

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-06-23 19:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-23 19:43 REPOST PATCH: radeon_del_edid.patch Jon Smirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).