Commit c52c3700 authored by Michel von Czettritz's avatar Michel von Czettritz Committed by Greg Kroah-Hartman

staging: sm750: Reindent

The reindent fixes the
"WARNING: please, no spaces at the start of a line",
"ERROR: code indent should use tabs where possible"
and some other small checkpatch.pl warnings and errors.
Signed-off-by: default avatarMichel von Czettritz <michel.von.czettritz@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4c97b37a
...@@ -31,12 +31,12 @@ int smi_indent = 0; ...@@ -31,12 +31,12 @@ int smi_indent = 0;
/* /*
#ifdef __BIG_ENDIAN * #ifdef __BIG_ENDIAN
ssize_t lynxfb_ops_write(struct fb_info *info, const char __user *buf, * ssize_t lynxfb_ops_write(struct fb_info *info, const char __user *buf,
size_t count, loff_t *ppos); * size_t count, loff_t *ppos);
ssize_t lynxfb_ops_read(struct fb_info *info, char __user *buf, * ssize_t lynxfb_ops_read(struct fb_info *info, char __user *buf,
size_t count, loff_t *ppos); * size_t count, loff_t *ppos);
#endif * #endif
*/ */
typedef void (*PROC_SPEC_SETUP)(struct lynx_share*,char *); typedef void (*PROC_SPEC_SETUP)(struct lynx_share*,char *);
...@@ -204,7 +204,6 @@ static void lynxfb_ops_fillrect(struct fb_info* info,const struct fb_fillrect* r ...@@ -204,7 +204,6 @@ static void lynxfb_ops_fillrect(struct fb_info* info,const struct fb_fillrect* r
region->dx,region->dy, region->dx,region->dy,
region->width,region->height, region->width,region->height,
color,rop); color,rop);
if (share->dual) if (share->dual)
spin_unlock(&share->slock); spin_unlock(&share->slock);
} }
...@@ -235,7 +234,6 @@ static void lynxfb_ops_copyarea(struct fb_info * info,const struct fb_copyarea * ...@@ -235,7 +234,6 @@ static void lynxfb_ops_copyarea(struct fb_info * info,const struct fb_copyarea *
base,pitch,region->sx,region->sy, base,pitch,region->sx,region->sy,
base,pitch,Bpp,region->dx,region->dy, base,pitch,Bpp,region->dx,region->dy,
region->width,region->height,HW_ROP2_COPY); region->width,region->height,HW_ROP2_COPY);
if (share->dual) if (share->dual)
spin_unlock(&share->slock); spin_unlock(&share->slock);
} }
...@@ -284,7 +282,6 @@ static void lynxfb_ops_imageblit(struct fb_info*info,const struct fb_image* imag ...@@ -284,7 +282,6 @@ static void lynxfb_ops_imageblit(struct fb_info*info,const struct fb_image* imag
image->dx,image->dy, image->dx,image->dy,
image->width,image->height, image->width,image->height,
fgcol,bgcol,HW_ROP2_COPY); fgcol,bgcol,HW_ROP2_COPY);
if (share->dual) if (share->dual)
spin_unlock(&share->slock); spin_unlock(&share->slock);
} }
...@@ -877,7 +874,7 @@ static int lynxfb_set_fbinfo(struct fb_info* info,int index) ...@@ -877,7 +874,7 @@ static int lynxfb_set_fbinfo(struct fb_info* info,int index)
break; break;
}else if(ret == 3){ }else if(ret == 3){
pr_warn("wanna use default mode\n"); pr_warn("wanna use default mode\n");
// break; // break;
}else if(ret == 4){ }else if(ret == 4){
pr_warn("fall back to any valid mode\n"); pr_warn("fall back to any valid mode\n");
}else{ }else{
...@@ -971,7 +968,7 @@ static int lynxfb_set_fbinfo(struct fb_info* info,int index) ...@@ -971,7 +968,7 @@ static int lynxfb_set_fbinfo(struct fb_info* info,int index)
exit: exit:
lynxfb_ops_check_var(var,info); lynxfb_ops_check_var(var,info);
// lynxfb_ops_set_par(info); // lynxfb_ops_set_par(info);
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment