ipheth: remove incorrect devtype to WWAN

The 'wwan' devtype is meant for devices that require preconfiguration
and *every* time setup before the ethernet interface can be used, like
cellular modems which require a series of setup commands on serial ports
or other mechanisms before the ethernet interface will handle packets.

As ipheth only requires one-per-hotplug pairing setup with no
preconfiguration (like APN, phone #, etc) and the network interface is
usable at any time after that initial setup, remove the incorrect
devtype wwan.

Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by Dan Williams and committed by David S. Miller c9cedbba 201b6bab

+1 -6
+1 -6
drivers/net/usb/ipheth.c
··· 429 429 .ndo_get_stats = &ipheth_stats, 430 430 }; 431 431 432 - static struct device_type ipheth_type = { 433 - .name = "wwan", 434 - }; 435 - 436 432 static int ipheth_probe(struct usb_interface *intf, 437 433 const struct usb_device_id *id) 438 434 { ··· 446 450 447 451 netdev->netdev_ops = &ipheth_netdev_ops; 448 452 netdev->watchdog_timeo = IPHETH_TX_TIMEOUT; 449 - strcpy(netdev->name, "wwan%d"); 453 + strcpy(netdev->name, "eth%d"); 450 454 451 455 dev = netdev_priv(netdev); 452 456 dev->udev = udev; ··· 496 500 497 501 SET_NETDEV_DEV(netdev, &intf->dev); 498 502 SET_ETHTOOL_OPS(netdev, &ops); 499 - SET_NETDEV_DEVTYPE(netdev, &ipheth_type); 500 503 501 504 retval = register_netdev(netdev); 502 505 if (retval) {