[PATCH] EDAC: edac_mc_add_mc fix [2/2]
authorDave Peterson <dsp@llnl.gov>
Sun, 26 Mar 2006 09:38:47 +0000 (01:38 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 26 Mar 2006 16:57:07 +0000 (08:57 -0800)
commit028a7b6d3d9fa2cc41d76d45575345cca8d00a4c
tree42d59be8db8af1cd60e8388c2d93230335b28606
parenta1d03fcc1399b1e23922bcc3af1772b128aa6e93
[PATCH] EDAC: edac_mc_add_mc fix [2/2]

This is part 2 of a 2-part patch set.

Fix edac_mc_add_mc() so it cleans up properly if call to
edac_create_sysfs_mci_device() fails.

Signed-off-by: David S. Peterson <dsp@llnl.gov>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/edac/edac_mc.c