summaryrefslogtreecommitdiff
path: root/drivers/staging/unisys/uislib
diff options
context:
space:
mode:
authorDevendra Naga <devendra.aaru@gmail.com>2015-02-19 14:08:33 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-02-26 17:24:13 -0800
commite0f2f18eb2e856ac8fd7efc6af0671c1fdc50e69 (patch)
treead468d5d762a8ba20a25e244dd9eec2ac37b176f /drivers/staging/unisys/uislib
parent010c9f8ebd27f4af484cbe752ed583bf72675882 (diff)
unisys: use kthread_should_stop API in the lib thread
convert the users of should_stop into using kthread_should_stop API. Cc: Ken Cox <jkc@redhat.com> Cc: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys/uislib')
-rw-r--r--drivers/staging/unisys/uislib/uislib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/unisys/uislib/uislib.c b/drivers/staging/unisys/uislib/uislib.c
index 77bf24761e05..6d2432bed267 100644
--- a/drivers/staging/unisys/uislib/uislib.c
+++ b/drivers/staging/unisys/uislib/uislib.c
@@ -1292,7 +1292,7 @@ static int process_incoming(void *v)
}
}
}
- if (incoming_ti.should_stop)
+ if (kthread_should_stop())
break;
}
if (new_tail != NULL) {
@@ -1309,7 +1309,7 @@ static int process_incoming(void *v)
* - there is no input waiting on any of the channels
* - we have received a signal to stop this thread
*/
- if (incoming_ti.should_stop)
+ if (kthread_should_stop())
break;
if (en_smart_wakeup == 0xFF) {
LOGINF("en_smart_wakeup set to 0xff, to force exiting process_incoming");