linux-stable-rt/drivers/edac
Doug Thompson d45e7823ba drivers/edac: fix edac_device init apis
Refactoring of sysfs code necessitated the refactoring of the
edac_device_alloc() and edac_device_add_device() apis, of moving the index
value to the alloc() function.  This patch alters the in tree drivers to
utilize this new api signature.

Having the index value performed later created a chicken-and-the-egg issue.
Moving it to the alloc() function allows for creating the necessary sysfs
entries with the proper index number

Cc: Alan Cox alan@lxorguk.ukuu.org.uk
Signed-off-by: Doug Thompson <dougthompson@xmission.com>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-19 10:04:57 -07:00
..
Kconfig drivers/edac: new pasemi driver 2007-07-19 10:04:56 -07:00
Makefile drivers/edac: new pasemi driver 2007-07-19 10:04:56 -07:00
amd76x_edac.c drivers/edac: fix edac_mc init apis 2007-07-19 10:04:57 -07:00
e7xxx_edac.c drivers/edac: fix edac_mc init apis 2007-07-19 10:04:57 -07:00
e752x_edac.c drivers/edac: fix edac_mc init apis 2007-07-19 10:04:57 -07:00
edac_core.h drivers/edac: fix edac_device init apis 2007-07-19 10:04:57 -07:00
edac_device.c drivers/edac: fix edac_device init apis 2007-07-19 10:04:57 -07:00
edac_device_sysfs.c drivers/edac: fix leaf sysfs attribute 2007-07-19 10:04:56 -07:00
edac_mc.c drivers/edac: fix edac_mc init apis 2007-07-19 10:04:57 -07:00
edac_mc_sysfs.c drivers/edac: remove null from statics 2007-07-19 10:04:55 -07:00
edac_module.c drivers/edac: mod edac_opt_state_to_string function 2007-07-19 10:04:56 -07:00
edac_module.h drivers/edac: mod edac_align_ptr function 2007-07-19 10:04:56 -07:00
edac_pci.c drivers/edac: mod edac_opt_state_to_string function 2007-07-19 10:04:56 -07:00
edac_pci_sysfs.c drivers/edac: remove null from statics 2007-07-19 10:04:55 -07:00
edac_stub.c drivers/edac: core Lindent cleanup 2007-07-19 10:04:54 -07:00
i3000_edac.c drivers/edac: fix edac_mc init apis 2007-07-19 10:04:57 -07:00
i5000_edac.c drivers/edac: fix edac_mc init apis 2007-07-19 10:04:57 -07:00
i82443bxgx_edac.c drivers/edac: fix edac_mc init apis 2007-07-19 10:04:57 -07:00
i82860_edac.c drivers/edac: fix edac_mc init apis 2007-07-19 10:04:57 -07:00
i82875p_edac.c drivers/edac: fix edac_mc init apis 2007-07-19 10:04:57 -07:00
pasemi_edac.c drivers/edac: fix edac_mc init apis 2007-07-19 10:04:57 -07:00
r82600_edac.c drivers/edac: fix edac_mc init apis 2007-07-19 10:04:57 -07:00