staging: vt6655: Cleanup and rename function MACbSafeSoftwareReset
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sun, 11 Sep 2022 10:46:04 +0000 (12:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 11 Sep 2022 11:58:44 +0000 (13:58 +0200)
commit0c59cbbb598418c3cff41432a70450b58b1c7794
tree9b09998bc61e97b1243a37fa433fcd87f7c2045c
parent4ecaa734c5e926afc597121459cda6f68526dffb
staging: vt6655: Cleanup and rename function MACbSafeSoftwareReset

Rename function MACbSafeSoftwareReset to vt6655_mac_save_soft_reset and
abyTmpRegData to tmp_reg_data to avoid CamelCase which is not accepted by
checkpatch.pl. Remove return value bRetVal as it is unused by the calling
functions. Remove unnecessary declaration of function and make function
static. Change declaration of tmp_reg_data to shorten code.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/540a684266610f7618b3ef6000d4699d065c8e6f.1662890990.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/mac.c
drivers/staging/vt6655/mac.h