forked from Minki/linux
staging: fbtft: Replace spaces to tab
Spaces at the start of the line, replace the leading space to tabs Signed-off-by: Charlie Wong Super <1213charlie@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6a7d8a4184
commit
afe11f108a
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user