projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2be90fe
)
staging: fbtft: fix space required after that ';'
author
Heba Aamer
<heba93aamer@gmail.com>
Tue, 27 Jan 2015 20:33:03 +0000
(22:33 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 28 Jan 2015 19:25:28 +0000
(11:25 -0800)
This patch fixes the following checkpatch.pl error:
fix space required after that ';'
Signed-off-by: Heba Aamer <heba93aamer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fb_pcd8544.c
patch
|
blob
|
history
diff --git
a/drivers/staging/fbtft/fb_pcd8544.c
b/drivers/staging/fbtft/fb_pcd8544.c
index 678ab8ed16a0ab2f6f4487644a3b4ea448111b85..387190de65ac5a9588397808fbc64e478e42e8b2 100644
(file)
--- a/
drivers/staging/fbtft/fb_pcd8544.c
+++ b/
drivers/staging/fbtft/fb_pcd8544.c
@@
-117,10
+117,10
@@
static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)
fbtft_par_dbg(DEBUG_WRITE_VMEM, par, "%s()\n", __func__);
- for (x=0;
x<84;
x++) {
- for (y=0;
y<6;
y++) {
+ for (x=0;
x<84;
x++) {
+ for (y=0;
y<6;
y++) {
*buf = 0x00;
- for (i=0;
i<8;
i++) {
+ for (i=0;
i<8;
i++) {
*buf |= (vmem16[(y*8+i)*84+x] ? 1 : 0) << i;
}
buf++;