[PATCH] radeonfb: clean up EDID sysfs attribute
radeonfb does not clean up EDID sysfs attribute Signed-off-by: Jon Smirl <jonsmirl@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
5a340cce09
commit
3ca34fcbfb
@ -2521,6 +2521,11 @@ static void __devexit radeonfb_pci_unregister (struct pci_dev *pdev)
|
||||
|
||||
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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user