]> git.baikalelectronics.ru Git - uboot.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)
commit406cc16bd5d186b9efaeacec1962e051015b627b
tree8e99d34fd283e7018a3e2218d309c12e178ae16b
parentdfcf0dfab463c5a1e73be5a53f34d952e7d42401
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