[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:

committed by
Greg Kroah-Hartman

parent
f73b5e7949
commit
674a396c6d
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user