staging: fbtft: fix do not initialise statics to 0 or NULL
authorHeba Aamer <heba93aamer@gmail.com>
Tue, 27 Jan 2015 20:42:59 +0000 (22:42 +0200)
committerGreg 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 do not initialise statics to 0 or NULL

Signed-off-by: Heba Aamer <heba93aamer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fb_pcd8544.c

index d20d432745d5622154eb15e1b599e251a986acc5..051054752cc6a3d4a5c64058205ea7d64b8e6af4 100644 (file)
@@ -36,7 +36,7 @@
 #define TXBUFLEN       (84*6)
 #define DEFAULT_GAMMA  "40" /* gamma is used to control contrast in this driver */
 
-static unsigned tc = 0;
+static unsigned tc;
 module_param(tc, uint, 0);
 MODULE_PARM_DESC(tc, "TC[1:0] Temperature coefficient: 0-3 (default: 0)");