From: Devendra Naga Date: Sun, 15 Jul 2012 17:44:37 +0000 (+0530) Subject: staging/rts_pstor: use kthread_run instead doing kthread_create and wake_up_process X-Git-Tag: v3.6-rc1~100^2~171 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71063199213795b886329f3e8e02ad6c1589efea;p=pandora-kernel.git staging/rts_pstor: use kthread_run instead doing kthread_create and wake_up_process with kthread_create we need to call wake_up_process to run the thread, this can be done using the macro kthread_run, which creates and if thread creation is succeeded starts the thread by calling wake_up_process, and also there are two more threads in the rts_pstor, which calls kthread_run instead calling kthread_create and another call to the wake_up_process, so with this change the creation of rtsx_scan_thread will be in consistency with the other control and poll threads. Signed-off-by: Devendra Naga Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed