diff options
author | Devendra Naga <develkernel412222@gmail.com> | 2012-08-04 07:17:09 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-14 01:57:44 (GMT) |
commit | f7523ab6c0a7c9eefee2ab7fd0df48fca839b490 (patch) | |
tree | d7e24de37629a69dc510908a95e4a09e16b3e94f /drivers/staging/csr | |
parent | cff9e59f65019428ba8f172dcc8af0154590de42 (diff) | |
download | linux-fsl-qoriq-f7523ab6c0a7c9eefee2ab7fd0df48fca839b490.tar.xz |
staging/csr: fix coding style problems in uf_stop_thread
The following warnings and errors were fixed:
* fix no space at the start of a line
* fix line over 80 characters
* use tabs instead of spaces
Cc: Mikko Virkkilä <mikko.virkkila@bluegiga.com>
Cc: Lauri Hintsala <Lauri.Hintsala@bluegiga.com>
Cc: Riku Mettälä <riku.mettala@bluegiga.com>
Cc: Veli-Pekka Peltola <veli-pekka.peltola@bluegiga.com>
Signed-off-by: Devendra Naga <develkernel412222@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/csr')
-rw-r--r-- | drivers/staging/csr/bh.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/drivers/staging/csr/bh.c b/drivers/staging/csr/bh.c index 2b7c4c0..7a00aa8 100644 --- a/drivers/staging/csr/bh.c +++ b/drivers/staging/csr/bh.c @@ -94,15 +94,16 @@ int uf_start_thread(unifi_priv_t *priv, */ void uf_stop_thread(unifi_priv_t *priv, struct uf_thread *thread) { - if (!thread->thread_task) { - unifi_notice(priv, "%s thread is already stopped\n", thread->name); - return; - } + if (!thread->thread_task) { + unifi_notice(priv, "%s thread is already stopped\n", + thread->name); + return; + } - unifi_trace(priv, UDBG2, "Stopping %s thread\n", thread->name); + unifi_trace(priv, UDBG2, "Stopping %s thread\n", thread->name); - kthread_stop(thread->thread_task); - thread->thread_task = NULL; + kthread_stop(thread->thread_task); + thread->thread_task = NULL; } /* uf_stop_thread() */ |