net: sparx5: ditch sparx5_fdma_rx/tx_reload() functions
authorDaniel Machon <daniel.machon@microchip.com>
Mon, 2 Sep 2024 14:54:17 +0000 (16:54 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Sep 2024 10:53:50 +0000 (11:53 +0100)
commit51152312dc99e2bb952d5bad7e81aefd3be3b97d
treef9e7d80d85b62fe63ff829e3ea22a8de0784b867
parent55e84c3cfd06ae6806ff43fff6985ddf742a2a2a
net: sparx5: ditch sparx5_fdma_rx/tx_reload() functions

These direction specific functions can be ditched in favor of a single
function: sparx5_fdma_reload(), which retrieves the channel id from the
fdma struct instead.

Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Reviewed-by: Jens Emil Schulz Østergaard <jensemil.schulzostergaard@microchip.com>
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/sparx5/sparx5_fdma.c