summaryrefslogtreecommitdiffstats
path: root/drivers/staging/fbtft/fb_pcd8544.c
diff options
context:
space:
mode:
authorHeba Aamer <heba93aamer@gmail.com>2015-01-27 22:33:03 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-01-28 11:25:28 -0800
commit6bcab6c76d79922565cf52e417a49b9d281fca8a (patch)
treea6b5ec94f2a596cce092533f46bab89e2eba7a2c /drivers/staging/fbtft/fb_pcd8544.c
parent2be90fef97ada3df61736435dc9ef6c3e432a747 (diff)
downloadlinux-stable-6bcab6c76d79922565cf52e417a49b9d281fca8a.tar.gz
linux-stable-6bcab6c76d79922565cf52e417a49b9d281fca8a.tar.bz2
linux-stable-6bcab6c76d79922565cf52e417a49b9d281fca8a.zip
staging: fbtft: fix space required after that ';'
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>
Diffstat (limited to 'drivers/staging/fbtft/fb_pcd8544.c')
-rw-r--r--drivers/staging/fbtft/fb_pcd8544.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/fbtft/fb_pcd8544.c b/drivers/staging/fbtft/fb_pcd8544.c
index 678ab8ed16a0..387190de65ac 100644
--- 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++;