staging: ks7010: factor out send stop request
commit2ab6fd596317c89b96f0cfd8811f12dd047bbd9e
authorTobin C. Harding <me@tobin.cc>
Mon, 10 Apr 2017 03:15:47 +0000 (10 13:15 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Apr 2017 14:03:36 +0000 (11 16:03 +0200)
tree207a3469afae2231e9243b999599abbd32247c87
parentf8641485ffb4ba573daa3f7d0532720634e5f44b
staging: ks7010: factor out send stop request

Function contains compound statement delineated by lone braces. This
statement represents a discreet set of functionality and thus can be
factored out into a separate function. Using a separate function
instead of a compound statement increases readability, reduces code
indentation, reduces function length, and generally looks more tidy.

Factor compound statement out to separate function.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks7010_sdio.c