[PATCH 0/7] staging: vt6655: Convert four macros to one function

From: Philipp Hortmann
Date: Sun Jul 17 2022 - 18:20:32 EST


Convert four multiline macros to one function with parameter.
checkpatch.pl does not accept multiline macros.

Tested with vt6655 on mini PCI Module
Transferred this patch over wlan connection of vt6655

Philipp Hortmann (7):
staging: vt6655: Rename dwData to reg_value in four macros
staging: vt6655: Rename MACvReceive0
staging: vt6655: Convert macro vt6655_mac_dma_ctl to function
staging: vt6655: Add parameter to function vt6655_mac_dma_ctl
staging: vt6655: Replace MACvReceive1 with function vt6655_mac_dma_ctl
staging: vt6655: Replace MACvTransmit0 with function
vt6655_mac_dma_ctl
staging: vt6655: Replace MACvTransmitAC0 with function
vt6655_mac_dma_ctl

drivers/staging/vt6655/device_main.c | 25 ++++++++++++-----
drivers/staging/vt6655/mac.h | 40 ----------------------------
2 files changed, 19 insertions(+), 46 deletions(-)

--
2.37.1