From: Devendra Naga Date: Sat, 4 Aug 2012 07:17:09 +0000 (+0545) Subject: staging/csr: fix coding style problems in uf_stop_thread X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f7523ab6c0a7c9eefee2ab7fd0df48fca839b490;p=linux-beck.git 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ä Cc: Lauri Hintsala Cc: Riku Mettälä Cc: Veli-Pekka Peltola Signed-off-by: Devendra Naga Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/csr/bh.c b/drivers/staging/csr/bh.c index 2b7c4c09d5f7..7a00aa8691b9 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() */