OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a340cc
)
[PATCH] radeonfb: clean up EDID sysfs attribute
author
Jon Smirl
<jonsmirl@gmail.com>
Wed, 27 Jul 2005 18:46:05 +0000
(11:46 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 27 Jul 2005 23:26:18 +0000
(16:26 -0700)
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>
drivers/video/aty/radeon_base.c
patch
|
blob
|
history
diff --git
a/drivers/video/aty/radeon_base.c
b/drivers/video/aty/radeon_base.c
index
47a6b12
..
e7e8b52
100644
(file)
--- 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)
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
*