Skip to content
Commit 733476cf authored by Borislav Petkov's avatar Borislav Petkov
Browse files

EDAC: Rip out the edac_subsys reference counting



This was really dumb - reference counting for the main EDAC sysfs
object. While we could've simply registered it as the first thing in the
module init path and then hand it around to what needs it.

Do that and rip out all the code around it, thus simplifying the whole
handling significantly.

Move the edac_subsys node back to edac_module.c.

Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
parent fcd5c4dd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment