diff options
author | Jon Smirl <jonsmirl@gmail.com> | 2005-07-27 14:46:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-27 19:26:18 -0400 |
commit | 3ca34fcbfbf8a7cbe99d54ae81c4e28fdc6f4ac6 (patch) | |
tree | 767ed7d2cf9932e015f4b5753a1a849ca47a2ce3 /drivers/video/aty | |
parent | 5a340cce09f5dfd89b7b7eea1a52d1a2d1c99a2e (diff) |
[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>
Diffstat (limited to 'drivers/video/aty')
-rw-r--r-- | drivers/video/aty/radeon_base.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/video/aty/radeon_base.c b/drivers/video/aty/radeon_base.c index 47a6b12bc968..e7e8b52014c3 100644 --- a/drivers/video/aty/radeon_base.c +++ b/drivers/video/aty/radeon_base.c | |||
@@ -2521,6 +2521,11 @@ static void __devexit radeonfb_pci_unregister (struct pci_dev *pdev) | |||
2521 | 2521 | ||
2522 | radeonfb_pm_exit(rinfo); | 2522 | radeonfb_pm_exit(rinfo); |
2523 | 2523 | ||
2524 | if (rinfo->mon1_EDID) | ||
2525 | sysfs_remove_bin_file(&rinfo->pdev->dev.kobj, &edid1_attr); | ||
2526 | if (rinfo->mon2_EDID) | ||
2527 | sysfs_remove_bin_file(&rinfo->pdev->dev.kobj, &edid2_attr); | ||
2528 | |||
2524 | #if 0 | 2529 | #if 0 |
2525 | /* restore original state | 2530 | /* restore original state |
2526 | * | 2531 | * |