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;
/*
#ifdef __BIG_ENDIAN
ssize_t lynxfb_ops_write(struct fb_info *info, const char __user *buf,
size_t count, loff_t *ppos);
ssize_t lynxfb_ops_read(struct fb_info *info, char __user *buf,
size_t count, loff_t *ppos);
#endif
* #ifdef __BIG_ENDIAN
* ssize_t lynxfb_ops_write(struct fb_info *info, const char __user *buf,
* size_t count, loff_t *ppos);
* ssize_t lynxfb_ops_read(struct fb_info *info, char __user *buf,
* size_t count, loff_t *ppos);
* #endif
*/
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
region->dx,region->dy,
region->width,region->height,
color,rop);
if (share->dual)
spin_unlock(&share->slock);
}
......@@ -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,Bpp,region->dx,region->dy,
region->width,region->height,HW_ROP2_COPY);
if (share->dual)
spin_unlock(&share->slock);
}
......@@ -284,7 +282,6 @@ static void lynxfb_ops_imageblit(struct fb_info*info,const struct fb_image* imag
image->dx,image->dy,
image->width,image->height,
fgcol,bgcol,HW_ROP2_COPY);
if (share->dual)
spin_unlock(&share->slock);
}
......@@ -877,7 +874,7 @@ static int lynxfb_set_fbinfo(struct fb_info* info,int index)
break;
}else if(ret == 3){
pr_warn("wanna use default mode\n");
// break;
// break;
}else if(ret == 4){
pr_warn("fall back to any valid mode\n");
}else{
......@@ -971,7 +968,7 @@ static int lynxfb_set_fbinfo(struct fb_info* info,int index)
exit:
lynxfb_ops_check_var(var,info);
// lynxfb_ops_set_par(info);
// lynxfb_ops_set_par(info);
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