[PATCH] use kthread_stop in therm_adt746x
Use kthread_stop() and kthread_should_stop() instead of monitor_running and wait_completion(). Signed-off-by: Colin Leroy <colin@colino.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Showing
Please register or sign in to comment