]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drivers:staging:wlan_ng Fix no space is necessary after a cast
authorBogicevic Sasa <brutallesale@gmail.com>
Tue, 27 Oct 2015 11:24:28 +0000 (12:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Oct 2015 00:05:57 +0000 (09:05 +0900)
This fixes "No space is necessary after a cast" messages from
checkpatch.pl

Signed-off-by: Bogicevic Sasa <brutallesale@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/prism2usb.c

index e92bbc12bb0649f26b03b2d4368e5b755b448043..8abf3f87a2d553efd8c769970107f5861c804006 100644 (file)
@@ -6,7 +6,7 @@
 
 #define PRISM_DEV(vid, pid, name)              \
        { USB_DEVICE(vid, pid),                 \
-       .driver_info = (unsigned long) name }
+       .driver_info = (unsigned long)name }
 
 static struct usb_device_id usb_prism_tbl[] = {
        PRISM_DEV(0x04bb, 0x0922, "IOData AirPort WN-B11/USBS"),
@@ -136,7 +136,7 @@ static void prism2sta_disconnect_usb(struct usb_interface *interface)
 {
        wlandevice_t *wlandev;
 
-       wlandev = (wlandevice_t *) usb_get_intfdata(interface);
+       wlandev = (wlandevice_t *)usb_get_intfdata(interface);
        if (wlandev != NULL) {
                LIST_HEAD(cleanlist);
                struct list_head *entry;
@@ -229,7 +229,7 @@ static int prism2sta_suspend(struct usb_interface *interface,
        hfa384x_t *hw = NULL;
        wlandevice_t *wlandev;
 
-       wlandev = (wlandevice_t *) usb_get_intfdata(interface);
+       wlandev = (wlandevice_t *)usb_get_intfdata(interface);
        if (!wlandev)
                return -ENODEV;
 
@@ -252,7 +252,7 @@ static int prism2sta_resume(struct usb_interface *interface)
        hfa384x_t *hw = NULL;
        wlandevice_t *wlandev;
 
-       wlandev = (wlandevice_t *) usb_get_intfdata(interface);
+       wlandev = (wlandevice_t *)usb_get_intfdata(interface);
        if (!wlandev)
                return -ENODEV;