projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e82fb2b
)
staging: fbtft: fix Macros with complex values should be enclosed in parentheses
author
Heba Aamer
<heba93aamer@gmail.com>
Tue, 27 Jan 2015 20:39:56 +0000
(22:39 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 28 Jan 2015 19:27:21 +0000
(11:27 -0800)
This patch fixes the following checkpatch.pl error:
fix Macros with complex values should be enclosed in parentheses
Signed-off-by: Heba Aamer <heba93aamer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fb_pcd8544.c
patch
|
blob
|
history
diff --git
a/drivers/staging/fbtft/fb_pcd8544.c
b/drivers/staging/fbtft/fb_pcd8544.c
index dd72bedc6a00e5adf7e12c0e5d65ecb41ce654c3..d20d432745d5622154eb15e1b599e251a986acc5 100644
(file)
--- a/
drivers/staging/fbtft/fb_pcd8544.c
+++ b/
drivers/staging/fbtft/fb_pcd8544.c
@@
-33,7
+33,7
@@
#define DRVNAME "fb_pcd8544"
#define WIDTH 84
#define HEIGHT 48
-#define TXBUFLEN
84*6
+#define TXBUFLEN
(84*6)
#define DEFAULT_GAMMA "40" /* gamma is used to control contrast in this driver */
static unsigned tc = 0;