Create one base function vt6655_mac_en_dis_bits_u32_reg with parameters for four multiline macros. Multiline macros are not liked by kernel community. Tested with vt6655 on mini PCI Module Transferred this patch over wlan connection of vt6655 Philipp Hortmann (6): staging: vt6655: Convert macro MACvEnableProtectMD to function staging: vt6655: Create one function for four macros staging: vt6655: Rename function MACvEnableProtectMD staging: vt6655: Convert macro MACvDisableProtectMD staging: vt6655: Convert macro MACvEnableBarkerPreambleMd staging: vt6655: Convert macro MACvDisableBarkerPreambleMd drivers/staging/vt6655/device_main.c | 40 +++++++++++++++++++++++++--- drivers/staging/vt6655/mac.h | 37 +++---------------------- 2 files changed, 40 insertions(+), 37 deletions(-) -- 2.37.1