edac: remove unneeded functions and add static accessor