]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: ks7010: rename return value identifier
authorTobin C. Harding <me@tobin.cc>
Tue, 21 Mar 2017 02:37:12 +0000 (13:37 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Mar 2017 07:56:07 +0000 (08:56 +0100)
commit1770ae9d3f7f2849d7a7a24f93af44a59790a647
tree1583359f244141428db0e1a88751915ee3641f0f
parent1e765f318824b2f182dedb5e74e05b9f132e07ca
staging: ks7010: rename return value identifier

Driver uses multiple identifier names for the same task (retval, ret,
rc). It would be easier to read the code if a single task is
identified with a single name. 'ret' is the most common return value
identifier name found in the kernel tree, following the principle of
least surprise using 'ret' is a decent choice.

Rename rc -> ret
Rename retval -> 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
drivers/staging/ks7010/ks_hostif.c
drivers/staging/ks7010/ks_wlan_net.c