keucr: fixes no spaces at the start of a line warning
authorAmarjargal Gundjalam <amarjargal16@gmail.com>
Fri, 17 May 2013 08:06:19 +0000 (01:06 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 May 2013 04:13:16 +0000 (21:13 -0700)
This patch fixes the following checkpatch warning,
WARNING: please, no spaces at the start of a line

Signed-off-by: Amarjargal Gundjalam <amarjargal16@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/keucr/smilmain.c
drivers/staging/keucr/smilsub.c
drivers/staging/keucr/usb.c
drivers/staging/keucr/usb.h

index c147f8a5b4f770499642b5e182329052241191f2..2a227a60f62e5909bc488d18d3ebf1ae4acd54d5 100644 (file)
@@ -205,8 +205,8 @@ int Check_D_MediaFmt(struct us_data *us)
                return ERROR;
        }
 
-    MediaChange = SMSUCCESS;
-    return SMSUCCESS;
+       MediaChange = SMSUCCESS;
+       return SMSUCCESS;
 }
 
 /* SmartMedia Physical Address Control Subroutine */
@@ -594,10 +594,10 @@ int Erase_D_PhyOneBlock(struct us_data *us)
 /* ----- Set_D_PhyFmtValue() -------------------------------------------- */
 int Set_D_PhyFmtValue(struct us_data *us)
 {
-    if (Set_D_SsfdcModel(us->SM_DeviceID))
-        return ERROR;
+       if (Set_D_SsfdcModel(us->SM_DeviceID))
+               return ERROR;
 
-    return SMSUCCESS;
+       return SMSUCCESS;
 }
 
 /* ----- Search_D_CIS() ------------------------------------------------- */
index d4dd5ed516ce80ebd8de093759bb700161bd7ac1..8b35d21ef48541ef1ca68daadbb90bc51def2ca2 100644 (file)
@@ -611,7 +611,7 @@ int Set_D_SsfdcModel(BYTE dcode)
                return ERROR;
        }
 
-    return SMSUCCESS;
+       return SMSUCCESS;
 }
 
 /* ----- _Check_D_DevCode() --------------------------------------------- */
@@ -686,8 +686,8 @@ int Check_D_CISdata(BYTE *buf, BYTE *redundant)
 /* ----- Set_D_RightECC() ---------------------------------------------- */
 void Set_D_RightECC(BYTE *redundant)
 {
-    /* Driver ECC Check */
-    return;
+       /* Driver ECC Check */
+       return;
 }
 
 
index cf9c96d52f94437e473050e6a9391345534fe81c..db3b080f073a54baf382c91f68142298312ae21f 100644 (file)
@@ -85,7 +85,7 @@ static int eucr_reset_resume(struct usb_interface *iface)
         * the device
         */
 
-       us->Power_IsResum = true;
+       us->Power_IsResum = true;
 
        us->SM_Status = *(PSM_STATUS)&tmp;
 
@@ -525,7 +525,7 @@ static int eucr_probe(struct usb_interface *intf, const struct usb_device_id *id
 
        pr_info("usb --- eucr_probe\n");
 
-      host = scsi_host_alloc(&usb_stor_host_template, sizeof(*us));
+       host = scsi_host_alloc(&usb_stor_host_template, sizeof(*us));
        if (!host) {
                pr_info("Unable to allocate the scsi host\n");
                return -ENOMEM;
@@ -623,9 +623,9 @@ static void eucr_disconnect(struct usb_interface *intf)
 static struct usb_driver usb_storage_driver = {
        .name =         "eucr",
        .probe =                eucr_probe,
-       .suspend =          eucr_suspend,
+       .suspend =          eucr_suspend,
        .resume =           eucr_resume,
-       .reset_resume = eucr_reset_resume,
+       .reset_resume = eucr_reset_resume,
        .disconnect =   eucr_disconnect,
        .pre_reset =    eucr_pre_reset,
        .post_reset =   eucr_post_reset,
index 73c5df26b24978ec80aa94541b3565e03c4f9b74..2f7c78ecdf9c509f63535bde73b910c30bdb66b4 100644 (file)
@@ -52,34 +52,34 @@ struct us_unusual_dev {
 #define FDIR_READ         1
 
 typedef struct _SD_STATUS {
-    BYTE    Insert:1;
-    BYTE    Ready:1;
-    BYTE    MediaChange:1;
-    BYTE    IsMMC:1;
-    BYTE    HiCapacity:1;
-    BYTE    HiSpeed:1;
-    BYTE    WtP:1;
-    BYTE    Reserved:1;
+       BYTE    Insert:1;
+       BYTE    Ready:1;
+       BYTE    MediaChange:1;
+       BYTE    IsMMC:1;
+       BYTE    HiCapacity:1;
+       BYTE    HiSpeed:1;
+       BYTE    WtP:1;
+       BYTE    Reserved:1;
 } SD_STATUS, *PSD_STATUS;
 
 typedef struct _MS_STATUS {
-    BYTE    Insert:1;
-    BYTE    Ready:1;
-    BYTE    MediaChange:1;
-    BYTE    IsMSPro:1;
-    BYTE    IsMSPHG:1;
-    BYTE    Reserved1:1;
-    BYTE    WtP:1;
-    BYTE    Reserved2:1;
+       BYTE    Insert:1;
+       BYTE    Ready:1;
+       BYTE    MediaChange:1;
+       BYTE    IsMSPro:1;
+       BYTE    IsMSPHG:1;
+       BYTE    Reserved1:1;
+       BYTE    WtP:1;
+       BYTE    Reserved2:1;
 } MS_STATUS, *PMS_STATUS;
 
 typedef struct _SM_STATUS {
-    BYTE    Insert:1;
-    BYTE    Ready:1;
-    BYTE    MediaChange:1;
-    BYTE    Reserved:3;
-    BYTE    WtP:1;
-    BYTE    IsMS:1;
+       BYTE    Insert:1;
+       BYTE    Ready:1;
+       BYTE    MediaChange:1;
+       BYTE    Reserved:3;
+       BYTE    WtP:1;
+       BYTE    IsMS:1;
 } SM_STATUS, *PSM_STATUS;
 
 /* SD Block Length */