summaryrefslogtreecommitdiff
path: root/net/decnet
diff options
context:
space:
mode:
authorDoug Thompson <dougthompson@xmission.com>2007-07-19 12:50:27 +0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-19 21:04:57 +0400
commitd45e7823baf655ced91c7987fb4ba9aae990ad6d (patch)
tree5a81af139f2e9ea6cd4e9d5cfa7fa9233b2f39c9 /net/decnet
parentb8f6f9755248026f21282e25cac49a1af698056c (diff)
downloadlinux-d45e7823baf655ced91c7987fb4ba9aae990ad6d.tar.xz
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>
Diffstat (limited to 'net/decnet')
0 files changed, 0 insertions, 0 deletions