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

Convert macro MACvReceive1 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/ec8dbbfeccb32e0b5c753702cb70d2749426c054.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