staging: vt6655: add missing whitespace

Some whitespace were missing, causing checkpatch warnings and altering
readability.

Signed-off-by: Guillaume Clement <gclement@baobob.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Guillaume Clement 2014-07-25 01:06:24 +02:00 committed by Greg Kroah-Hartman
parent cef27eae2f
commit fa13849f58

View file

@ -2635,12 +2635,12 @@ static int Config_FileGetParameter(unsigned char *string,
return true; return true;
} }
int Config_FileOperation(PSDevice pDevice,bool fwrite,unsigned char *Parameter) int Config_FileOperation(PSDevice pDevice, bool fwrite, unsigned char *Parameter)
{ {
unsigned char *buffer = kmalloc(1024, GFP_KERNEL); unsigned char *buffer = kmalloc(1024, GFP_KERNEL);
unsigned char tmpbuffer[20]; unsigned char tmpbuffer[20];
struct file *file; struct file *file;
int result=0; int result = 0;
if (!buffer) { if (!buffer) {
pr_err("allocate mem for file fail?\n"); pr_err("allocate mem for file fail?\n");
@ -2665,11 +2665,11 @@ int Config_FileOperation(PSDevice pDevice,bool fwrite,unsigned char *Parameter)
goto error1; goto error1;
} }
if (memcmp(tmpbuffer,"USA",3)==0) { if (memcmp(tmpbuffer, "USA", 3) == 0) {
result = ZoneType_USA; result = ZoneType_USA;
} else if(memcmp(tmpbuffer,"JAPAN",5)==0) { } else if(memcmp(tmpbuffer, "JAPAN", 5) == 0) {
result = ZoneType_Japan; result = ZoneType_Japan;
} else if(memcmp(tmpbuffer,"EUROPE",5)==0) { } else if(memcmp(tmpbuffer, "EUROPE", 5) == 0) {
result = ZoneType_Europe; result = ZoneType_Europe;
} else { } else {
result = -1; result = -1;