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

Philipp Hortmann posted 5 patches 3 years, 8 months ago
drivers/staging/vt6655/device_main.c | 23 +++++++++++-----
drivers/staging/vt6655/mac.h         | 40 ----------------------------
2 files changed, 17 insertions(+), 46 deletions(-)
[PATCH v2 0/5] staging: vt6655: Convert four macros to one function
Posted by Philipp Hortmann 3 years, 8 months ago
Convert four multiline macros to one function with parameter. Multiline
macros are not liked by kernel community.

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

V1 -> V2: Combined patch "Rename dwData to reg_value in four ..." with
          patch "Convert macro MACvReceive0 to function"
          Combined patch "Add parameter to function vt6655_m ..." with
          patch "Rename function MACvReceive0 and add parameter"
          Changed order of renaming function and conversion to function
          Improved to early line breaks in patch descriptions
          Removed function declaration of vt6655_mac_dma_ctl
          Changed variable declaration in vt6655_mac_dma_ctl
          Improved patch descriptions

Philipp Hortmann (5):
  staging: vt6655: Convert macro MACvReceive0 to function
  staging: vt6655: Rename function MACvReceive0 and add parameter
  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 | 23 +++++++++++-----
 drivers/staging/vt6655/mac.h         | 40 ----------------------------
 2 files changed, 17 insertions(+), 46 deletions(-)

-- 
2.37.1