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