aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei/main.c
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2013-01-08 23:07:32 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-08 16:40:48 -0800
commit627ca75733c84427992d798cfebb8e4fd2428917 (patch)
treea5384b62bc8f0af53d2b6fb5544cf3312f42b229 /drivers/misc/mei/main.c
parentmei: make host csr and me csr internal to hw-me (diff)
downloadlinux-dev-627ca75733c84427992d798cfebb8e4fd2428917.tar.xz
linux-dev-627ca75733c84427992d798cfebb8e4fd2428917.zip
mei: move work initialization to mei_device_init
Let mei_device_init initialize all the software constructs. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
-rw-r--r--drivers/misc/mei/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/misc/mei/main.c b/drivers/misc/mei/main.c
index f72bb77fc279..123c663509ef 100644
--- a/drivers/misc/mei/main.c
+++ b/drivers/misc/mei/main.c
@@ -889,8 +889,6 @@ static int mei_probe(struct pci_dev *pdev,
pdev->irq);
goto disable_msi;
}
- INIT_DELAYED_WORK(&dev->timer_work, mei_timer);
- INIT_WORK(&dev->init_work, mei_host_client_init);
if (mei_hw_init(dev)) {
dev_err(&pdev->dev, "init hw failure.\n");