[PATCH] w1: use kthread api.

This patch removes old-style kernel thread initialization
and changes w1 to use kthread api.
It is based on Christoph Hellwig <hch@lst.de> work.

Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Evgeniy Polyakov
2006-02-20 11:15:37 +03:00
committed by Greg Kroah-Hartman
parent f73b5e7949
commit 674a396c6d
3 changed files with 28 additions and 65 deletions

View File

@@ -172,12 +172,11 @@ struct w1_master
long flags;
pid_t kpid;
struct task_struct *thread;
struct semaphore mutex;
struct device_driver *driver;
struct device dev;
struct completion dev_exited;
struct w1_bus_master *bus_master;