Staging: bcm: Bcmnet.c: Renamed variable: "IntfAdapter" -> "intf_ad"
authorMatthias Beyer <mail@beyermatthias.de>
Wed, 27 Aug 2014 11:03:29 +0000 (13:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Aug 2014 20:02:23 +0000 (13:02 -0700)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/Bcmnet.c

index 800c1ef..e577676 100644 (file)
@@ -187,9 +187,9 @@ static const struct ethtool_ops bcm_ethtool_ops = {
 int register_networkdev(struct bcm_mini_adapter *ad)
 {
        struct net_device *net = ad->dev;
-       struct bcm_interface_adapter *IntfAdapter = ad->pvInterfaceAdapter;
-       struct usb_interface *udev = IntfAdapter->interface;
-       struct usb_device *xdev = IntfAdapter->udev;
+       struct bcm_interface_adapter *intf_ad = ad->pvInterfaceAdapter;
+       struct usb_interface *udev = intf_ad->interface;
+       struct usb_device *xdev = intf_ad->udev;
 
        int result;
 
@@ -228,9 +228,9 @@ int register_networkdev(struct bcm_mini_adapter *ad)
 void unregister_networkdev(struct bcm_mini_adapter *ad)
 {
        struct net_device *net = ad->dev;
-       struct bcm_interface_adapter *IntfAdapter = ad->pvInterfaceAdapter;
-       struct usb_interface *udev = IntfAdapter->interface;
-       struct usb_device *xdev = IntfAdapter->udev;
+       struct bcm_interface_adapter *intf_ad = ad->pvInterfaceAdapter;
+       struct usb_interface *udev = intf_ad->interface;
+       struct usb_device *xdev = intf_ad->udev;
 
        if (netif_msg_probe(ad))
                dev_info(&udev->dev, PFX "%s: unregister usb-%s%s\n",