EDAC: Rework workqueue handling
authorBorislav Petkov <bp@suse.de>
Mon, 30 Nov 2015 18:02:01 +0000 (19:02 +0100)
committerBorislav Petkov <bp@suse.de>
Fri, 11 Dec 2015 15:56:43 +0000 (16:56 +0100)
commitc4cf3b454ecaa222aad9017932bd3b9c9325d931
tree8e132709bdcaa097d84bba838bbd51a395607c3d
parente136fa016f2f06ca6e00d4f99894b4424f3f2a5c
EDAC: Rework workqueue handling

Hide the EDAC workqueue pointer in a separate compilation unit and add
accessors for the workqueue manipulations needed.

Remove edac_pci_reset_delay_period() which wasn't used by anything. It
seems it got added without a user with

  91b99041c1d5 ("drivers/edac: updated PCI monitoring")

Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/Makefile
drivers/edac/edac_device.c
drivers/edac/edac_mc.c
drivers/edac/edac_module.c
drivers/edac/edac_module.h
drivers/edac/edac_pci.c
drivers/edac/wq.c [new file with mode: 0644]