Browse Source

Staging: asus_oled: do not initialise statics to 0 or NULL

fix the following error reported by checkpatch.pl
ERROR: do not initialise statics to 0 or NULL

Signed-off-by: Andre Haupt <andre@bitwigglers.org>
Cc: Jakub Schmidtke <sjakub@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Andre Haupt 16 years ago
parent
commit
b0e5ca810a
1 changed files with 3 additions and 3 deletions
  1. 3 3
      drivers/staging/asus_oled/asus_oled.c

+ 3 - 3
drivers/staging/asus_oled/asus_oled.c

@@ -56,10 +56,10 @@ MODULE_AUTHOR("Jakub Schmidtke, sjakub@gmail.com");
 MODULE_DESCRIPTION("Asus OLED Driver v" ASUS_OLED_VERSION);
 MODULE_LICENSE("GPL");
 
-static struct class *oled_class = NULL;
-static int oled_num = 0;
+static struct class *oled_class;
+static int oled_num;
 
-static uint start_off = 0;
+static uint start_off;
 
 module_param(start_off, uint, 0644);