]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit13c6c6cc1ccbb3b20488a260c4b17f1534b21209
tree9824991dc181f258ca2fc0e4df627c1ebdbacf49
parent9e5c28b6114094218405779a8aa6fc40ac7f595b
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