[PATCH AUTOSEL 5.1 116/219] EDAC/sysfs: Drop device references properly