edac: fix device removal on a few drivers

The removal logic was broken by the patch that added support for
struct device. Fix it.

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