staging/wlan-ng: fix small coding style issues
authorDenis Pithon <denis.pithon@gmail.com>
Tue, 1 Apr 2014 16:43:19 +0000 (18:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Apr 2014 23:21:15 +0000 (16:21 -0700)
Delete some unneeded blank lines and add few ones to make checkpatch.pl
happy.

Signed-off-by: Denis Pithon <denis.pithon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/prism2usb.c

index 613c3120d9fe994be532ef4295148415dd719841..e92bbc12bb0649f26b03b2d4368e5b755b448043 100644 (file)
@@ -96,7 +96,8 @@ static int prism2sta_probe_usb(struct usb_interface *interface,
                                           prism2_reset_settletime, 0);
                if (result != 0) {
                        result = -EIO;
-                       dev_err(&interface->dev, "hfa384x_corereset() failed.\n");
+                       dev_err(&interface->dev,
+                               "hfa384x_corereset() failed.\n");
                        goto failed_reset;
                }
        }
@@ -136,7 +137,6 @@ static void prism2sta_disconnect_usb(struct usb_interface *interface)
        wlandevice_t *wlandev;
 
        wlandev = (wlandevice_t *) usb_get_intfdata(interface);
-
        if (wlandev != NULL) {
                LIST_HEAD(cleanlist);
                struct list_head *entry;
@@ -228,6 +228,7 @@ static int prism2sta_suspend(struct usb_interface *interface,
 {
        hfa384x_t *hw = NULL;
        wlandevice_t *wlandev;
+
        wlandev = (wlandevice_t *) usb_get_intfdata(interface);
        if (!wlandev)
                return -ENODEV;
@@ -250,6 +251,7 @@ static int prism2sta_resume(struct usb_interface *interface)
        int result = 0;
        hfa384x_t *hw = NULL;
        wlandevice_t *wlandev;
+
        wlandev = (wlandevice_t *) usb_get_intfdata(interface);
        if (!wlandev)
                return -ENODEV;