Revert "net: eth-uclass: Change uclass driver name to ethernet"

This reverts commit 1231184caa.

While the change is fine in theory, a number of tests need to be updated
to match.

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini 2021-01-19 15:35:00 -05:00
parent 9d13cd95f1
commit 26e85bf77a

View file

@ -597,8 +597,8 @@ static int eth_pre_remove(struct udevice *dev)
return 0;
}
UCLASS_DRIVER(ethernet) = {
.name = "ethernet",
UCLASS_DRIVER(eth) = {
.name = "eth",
.id = UCLASS_ETH,
.post_bind = eth_post_bind,
.pre_unbind = eth_pre_unbind,