]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: vchiq: Refactor indentation in vchiq_platform_conn_state_changed()
authorMarcelo Diop-Gonzalez <marcgonzalez@google.com>
Thu, 14 Nov 2019 23:28:01 +0000 (18:28 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Nov 2019 06:14:55 +0000 (14:14 +0800)
commit2611045e3555cd0d75837ae69ffd70ef51e28bf7
tree4108287a2b40e171205cb7c03815973d59972852
parent635dad0911d12d633df7611a5c564a3b98f425cf
staging: vchiq: Refactor indentation in vchiq_platform_conn_state_changed()

Reducing the indentation level helps a bit with
the readability of this function. There's also a checkpatch
fix here, moving the first argument to kthread_create() onto
the same line, as well as a relocation of the statement
"char threadname[16];" to the top of the function to avoid
a declaration in the middle of code.

Signed-off-by: Marcelo Diop-Gonzalez <marcgonzalez@google.com>
Link: https://lore.kernel.org/r/20191114232801.71458-1-marcgonzalez@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c