Messages in this thread Patch in this message | | | From | Charlie WONG Super <> | Subject | [PATCH] staging: fbtft: Replace spaces to tab | Date | Sat, 4 Apr 2015 19:30:28 +0800 |
| |
From: Charlie Wong Super <1213charlie@gmail.com>
Spaces at the start of the line, replace the leading space to tabs
Signed-off-by: Charlie Wong Super <1213charlie@gmail.com> --- Note: - Get your email address from the scripts/get_maintainer.pl - so I send this email to you Changes: - After GAMMA, use space to keep aligning with the next line - The next line after GAMMA, leading with 3-taps - I creat a branch,and git am this patch, though it looks not good in the patch, but it works fine in realy life.
drivers/staging/fbtft/fb_st7735r.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/fbtft/fb_st7735r.c b/drivers/staging/fbtft/fb_st7735r.c index 9d87430..f652243 100644 --- a/drivers/staging/fbtft/fb_st7735r.c +++ b/drivers/staging/fbtft/fb_st7735r.c @@ -25,8 +25,8 @@ #include "fbtft.h" #define DRVNAME "fb_st7735r" -#define DEFAULT_GAMMA "0F 1A 0F 18 2F 28 20 22 1F 1B 23 37 00 07 02 10\n" \ - "0F 1B 0F 17 33 2C 29 2E 30 30 39 3F 00 07 03 10" +#define DEFAULT_GAMMA "0F 1A 0F 18 2F 28 20 22 1F 1B 23 37 00 07 02 10\n" \ + "0F 1B 0F 17 33 2C 29 2E 30 30 39 3F 00 07 03 10" static int default_init_sequence[] = { @@ -119,9 +119,9 @@ static int set_var(struct fbtft_par *par) /* MADCTL - Memory data access control RGB/BGR: 1. Mode selection pin SRGB - RGB H/W pin for color filter setting: 0=RGB, 1=BGR + RGB H/W pin for color filter setting: 0=RGB, 1=BGR 2. MADCTL RGB bit - RGB-BGR ORDER color filter panel: 0=RGB, 1=BGR */ + RGB-BGR ORDER color filter panel: 0=RGB, 1=BGR */ switch (par->info->var.rotate) { case 0: write_reg(par, 0x36, MX | MY | (par->bgr << 3)); -- 1.9.1
| |