Searched hist:"1770 ae9d" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/staging/ks7010/ |
H A D | ks7010_sdio.c | 1770ae9d Mon Mar 20 21:37:12 CDT 2017 Tobin C. Harding <me@tobin.cc> 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>
|
H A D | ks_wlan_net.c | 1770ae9d Mon Mar 20 21:37:12 CDT 2017 Tobin C. Harding <me@tobin.cc> 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> 1770ae9d Mon Mar 20 21:37:12 CDT 2017 Tobin C. Harding <me@tobin.cc> 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>
|
H A D | ks_hostif.c | 1770ae9d Mon Mar 20 21:37:12 CDT 2017 Tobin C. Harding <me@tobin.cc> 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> 1770ae9d Mon Mar 20 21:37:12 CDT 2017 Tobin C. Harding <me@tobin.cc> 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>
|