i7core_edac: Fix the device file release logic

This were broken by the conversion patch.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
1 file changed