drivers/edac: edac_device code tidying