staging: vt6655: Convert macro MACvDisableProtectMD
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sun, 7 Aug 2022 18:13:46 +0000 (20:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Aug 2022 13:10:41 +0000 (15:10 +0200)
commitcc00269153b870895baaad9f74034b8ae8803d7a
tree9824991dc181f258ca2fc0e4df627c1ebdbacf49
parent17ca653712765ecefff6136b863895382e5989e8
staging: vt6655: Convert macro MACvDisableProtectMD

Convert macro MACvDisableProtectMD to static function which calls the
new common static function vt6655_mac_clear_bits. This saves
codelines and multiline macros are not liked by kernel community.
Function name is also changed to avoid CamelCase which is not accepted
by checkpatch.pl and to clean up namespace.

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