Skip to content

Commit

Permalink
[PATCH] radeonfb: clean up EDID sysfs attribute
Browse files Browse the repository at this point in the history
radeonfb does not clean up EDID sysfs attribute

Signed-off-by: Jon Smirl <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
jonsmirl authored and Linus Torvalds committed Jul 27, 2005
1 parent 5a340cc commit 3ca34fc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/video/aty/radeon_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit 3ca34fc

Please sign in to comment.