]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: ks7010: rename identifier retval to ret
authorTobin C. Harding <me@tobin.cc>
Mon, 10 Apr 2017 03:15:42 +0000 (13:15 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Apr 2017 14:03:36 +0000 (16:03 +0200)
commitf717248713c9672526005fefd85d6d5bc44d8603
treeea3f64992beebf860d4a4674d4edaca57669f74e
parent03b0244924795d30e1619894d8aa13c0fcfe233c
staging: ks7010: rename identifier retval to ret

Function uses identifier 'retval' to hold the error return value. The
rest of the driver uses 'ret' for this purpose. Being uniform in the
choice of identifiers generally adds to the cleanliness of the code,
also it is arguably easier to follow the code if one name is used for
one task.

Rename identifier 'retval' to 'ret'.

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