staging: vt6655: Replace MACvTransmit0 with function vt6655_mac_dma_ctl
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Fri, 29 Jul 2022 08:14:46 +0000 (10:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Aug 2022 13:09:55 +0000 (15:09 +0200)
commit59cce3f468f5b98f9469179b7b713f3ddbf9e3c2
tree89ef82f0c5f1fc85cd1bc22b25c2538d9ba9157d
parentf4726f7f4f138272658c5a21cf243ac10f76317e
staging: vt6655: Replace MACvTransmit0 with function vt6655_mac_dma_ctl

Convert macro MACvTransmit0 to existing static function. This saves
codelines and multiline macros are not liked by kernel community.

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