summaryrefslogtreecommitdiff
path: root/drivers/staging/keucr
diff options
context:
space:
mode:
authorAmarjargal Gundjalam <amarjargal16@gmail.com>2013-05-17 12:05:04 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-20 08:05:44 +0400
commita3539591040ba9b28df9867a82af918251808815 (patch)
tree459c2c4054a554d61ab35994342d507db9dd7e57 /drivers/staging/keucr
parent96dfb4bd351ea76f3ca852e99712936e39846a47 (diff)
downloadlinux-a3539591040ba9b28df9867a82af918251808815.tar.xz
keucr: fixes space prohibited before warning
This patch fixes the following checkpatch error and warning, ERROR: space prohibited before open square bracket '[' WARNING: space prohibited before semicolon Signed-off-by: Amarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/keucr')
-rw-r--r--drivers/staging/keucr/smilmain.c2
-rw-r--r--drivers/staging/keucr/usb.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/keucr/smilmain.c b/drivers/staging/keucr/smilmain.c
index 47c03489fe1e..ede7e1f2c24b 100644
--- a/drivers/staging/keucr/smilmain.c
+++ b/drivers/staging/keucr/smilmain.c
@@ -61,7 +61,7 @@ DWORD MediaChange;
static DWORD SectCopyMode;
//BIT Control Macro
-static BYTE BitData[] = { 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80 } ;
+static BYTE BitData[] = { 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80 };
#define Set_D_Bit(a, b) (a[(BYTE)((b) / 8)] |= BitData[(b) % 8])
#define Clr_D_Bit(a, b) (a[(BYTE)((b) / 8)] &= ~BitData[(b) % 8])
#define Chk_D_Bit(a, b) (a[(BYTE)((b) / 8)] & BitData[(b) % 8])
diff --git a/drivers/staging/keucr/usb.c b/drivers/staging/keucr/usb.c
index bbfaa94beb8c..cf9c96d52f94 100644
--- a/drivers/staging/keucr/usb.c
+++ b/drivers/staging/keucr/usb.c
@@ -24,7 +24,7 @@ MODULE_LICENSE("GPL");
static unsigned int delay_use = 1;
-static struct usb_device_id eucr_usb_ids [] = {
+static struct usb_device_id eucr_usb_ids[] = {
{ USB_DEVICE(0x058f, 0x6366) },
{ USB_DEVICE(0x0cf2, 0x6230) },
{ USB_DEVICE(0x0cf2, 0x6250) },