[PATCH 1/5] unisys: replace kthread_create and wake_up_process with kthread_run

2015-02-19 Thread Benjamin Romer
From: Devendra Naga kthread_run calls kthread_create and if the thread is created it then calls wake_up_process on the corresponding returned task struct. So the code can be simplified by calling just kthread_run. Cc: Ken Cox Cc: Benjamin Romer Signed-off-by: Devendra Naga Signed-off-by: Benj

[RFC PATCH 1/5] unisys: replace kthread_create and wake_up_process with kthread_run

2015-01-21 Thread Devendra Naga
kthread_run calls kthread_create and if the thread is created it then calls wake_up_process on the corresponding returned task struct. So the code can be simplified by calling just kthread_run. Cc: Ken Cox Cc: Benjamin Romer Signed-off-by: Devendra Naga --- drivers/staging/unisys/uislib/uisthr

[PATCH 1/5] unisys: replace kthread_create and wake_up_process with kthread_run

2015-01-21 Thread Devendra Naga
kthread_run calls kthread_create and if the thread is created it then calls wake_up_process on the corresponding returned task struct. So the code can be simplified by calling just kthread_run. Cc: Ken Cox Cc: Benjamin Romer Signed-off-by: Devendra Naga --- drivers/staging/unisys/uislib/uisthr