]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4e7ca46dd592eb58f5b5ec9bfcfc28c8489041c4
tree9b09998bc61e97b1243a37fa433fcd87f7c2045c
parenta16891f0c927e531e2305b7d1c8499a6707b879e
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