From: Heba Aamer Date: Tue, 27 Jan 2015 20:35:30 +0000 (+0200) Subject: staging: fbtft: fix spaces required around that '=' X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8dba63c856744d28a0731e8ef2d3ca6ddacab599;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git staging: fbtft: fix spaces required around that '=' This patch fixes the following checkpatch.pl error: fix spaces required around that '=' Signed-off-by: Heba Aamer Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/fbtft/fb_pcd8544.c b/drivers/staging/fbtft/fb_pcd8544.c index 387190de65ac..ed0922df6a9f 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++;