EDAC: Export edac sysfs class to users.
authorBorislav Petkov <borislav.petkov@amd.com>
Thu, 2 Sep 2010 15:26:48 +0000 (17:26 +0200)
committerBorislav Petkov <bp@amd64.org>
Thu, 21 Oct 2010 12:47:59 +0000 (14:47 +0200)
commit30e1f7a8122145f44f45c95366e27b6bb0b08428
treead1b549b88319b074505eed41914dd7b70f5434c
parent7cfd4a87441f5ca3018fdd1f7ad67e8a73a05dc2
EDAC: Export edac sysfs class to users.

Move toplevel sysfs class to the stub and make it available to
non-modularized code too. Add proper refcounting of its users and move
the registration functionality into the reference counting routines.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
drivers/edac/edac_device_sysfs.c
drivers/edac/edac_mc_sysfs.c
drivers/edac/edac_module.c
drivers/edac/edac_module.h
drivers/edac/edac_pci_sysfs.c
drivers/edac/edac_stub.c
include/linux/edac.h