Skip to contentSkip to conversation

Staging: fbtft: Remove unneeded spaces to improve code style.

PATCH In review Vatika Harlalka 2 participants 2 messages Mar 10, 2015 – Mar 15, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: fbtft: Remove unneeded spaces to improve code style.

Remove spaces to improve code style and align the code.

---
 drivers/staging/fbtft/fb_agm1264k-fl.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/staging/fbtft/fb_agm1264k-fl.c +5 -5
index 7aa9e8c..9d74b23 100644
@@ -33,13 +33,13 @@
 #define WIDTH		64
 #define HEIGHT		64
 #define TOTALWIDTH	(WIDTH * 2)	 /* because 2 x ks0108 in one display */
-#define FPS			20
+#define FPS		20
 
 #define EPIN		gpio.wr
-#define RS			gpio.dc
-#define RW			gpio.aux[2]
-#define CS0			gpio.aux[0]
-#define CS1			gpio.aux[1]
+#define RS		gpio.dc
+#define RW		gpio.aux[2]
+#define CS0		gpio.aux[0]
+#define CS1		gpio.aux[1]
 
 
 /* diffusing error (�Floyd-Steinberg�) */
Signature · 1 line
1.9.1
maintainer
#1 lore raw
Quoted 20 lines · Vatika Harlalka

Remove spaces to improve code style and align the code.

---
 drivers/staging/fbtft/fb_agm1264k-fl.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/staging/fbtft/fb_agm1264k-fl.c +1 -2
index 7aa9e8c..9d74b23 100644
@@ -33,13 +33,13 @@
 #define WIDTH		64
 #define HEIGHT		64
 #define TOTALWIDTH	(WIDTH * 2)	 /* because 2 x ks0108 in one display */
-#define FPS			20
+#define FPS		20
 
 #define EPIN		gpio.wr
-#define RS			gpio.dc

drivers/staging/fbtft/fb_agm1264k-fl.c line 45

Quoted 10 lines
drivers/staging/fbtft/fb_agm1264k-fl.c +4 -3
-#define RW			gpio.aux[2]
-#define CS0			gpio.aux[0]
-#define CS1			gpio.aux[1]
+#define RS		gpio.dc
+#define RW		gpio.aux[2]
+#define CS0		gpio.aux[0]
+#define CS1		gpio.aux[1]
 
 
 /* diffusing error (“Floyd-Steinberg”) */

This does not apply to my tree :(