staging: vt6655: Convert macro MACvReceive0 to function
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Fri, 29 Jul 2022 08:14:14 +0000 (10:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Aug 2022 13:09:55 +0000 (15:09 +0200)
commit9665eaf50ab32f9f0bdcc546a27e94ee19e235bd
treebcb135642d3c1ed55404164be906aeeba08838b4
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868
staging: vt6655: Convert macro MACvReceive0 to function

Convert macro to static function. Multiline macros are not liked by
kernel community. Rename variable dwData to reg_value to avoid
CamelCase which is not accepted by checkpatch.pl. Change variable
declaration to u32 as this improves readability.

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