Description of problem: When devres_open_group() fails, it returns -ENOMEM without freeing memory allocated by edac_mc_alloc().
merged: https://gitee.com/anolis/cloud-kernel/pulls/1276