]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
Staging: asus_oled: do not initialise statics to 0 or NULL
authorAndre Haupt <andre@bitwigglers.org>
Mon, 19 Jan 2009 11:00:17 +0000 (12:00 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:53:15 +0000 (14:53 -0700)
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>
drivers/staging/asus_oled/asus_oled.c

index 7718230a90605f1643a447b5f3c41876f537243a..cb632a04a995441a6b5803322190723a16e08b5c 100644 (file)
@@ -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);