]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: sun8i_emac: Remove pointless wrapper functions
authorAndre Przywara <andre.przywara@arm.com>
Wed, 21 Oct 2020 17:51:42 +0000 (23:21 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Wed, 21 Oct 2020 18:13:10 +0000 (23:43 +0530)
commita5b2a991b388b7f42b0e264dfe2dfefc265f43ca
tree8e99d34fd283e7018a3e2218d309c12e178ae16b
parentf20f9465dbbee7df134ea2b1a8466799234afdf1
net: sun8i_emac: Remove pointless wrapper functions

Apparently due to copying from some older or converted driver, the
sun8i_emac driver contains pointless wrapper functions to bridge
between a legacy driver and the driver model.

Since sun8i_emac is (and always was) driver model only, there is no
reason to have those confusing wrappers. Just remove them, and use
the driver model prototypes directly.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Tested-by: Amit Singh Tomar <amittomer25@gmail.com> # Pine64+
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/net/sun8i_emac.c