staging: vt6655: Cleanup and rename function MACvRestoreContext
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sun, 11 Sep 2022 10:45:53 +0000 (12:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 11 Sep 2022 11:58:44 +0000 (13:58 +0200)
commit4ecaa734c5e926afc597121459cda6f68526dffb
treec85decdcf5509a145cd92894712b78f3397a2e2d
parent8e134ca308f8955b00c1c0bd699f6dd7ea50f571
staging: vt6655: Cleanup and rename function MACvRestoreContext

Rename function MACvRestoreContext to vt6655_mac_restore_context to avoid
CamelCase which is not accepted by checkpatch.pl. Remove unnecessary
declaration of function and make function static. Change declaration of
cxt_buf to shorten code.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/3d215bbf1675fd093c9b31fbf3b29ce09432ab27.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