EDAC: Fix error return
authorBorislav Petkov <borislav.petkov@amd.com>
Wed, 1 Sep 2010 14:32:20 +0000 (16:32 +0200)
committerBorislav Petkov <bp@amd64.org>
Thu, 21 Oct 2010 12:47:56 +0000 (14:47 +0200)
commitca755e0a49ff1272efff0b3bfdf3f1e0b0fc5d57
treed2643b3c7a014fde6ac2af706133537362a99386
parentf6f94e2ab1b33f0082ac22d71f66385a60d8157f
EDAC: Fix error return

We should return a negative value when we cannot get the toplevel edac
sysfs class.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
drivers/edac/edac_mc_sysfs.c