]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/input/keyboard/omap-twl4030keypad.c
Remove double MODULE_ALIAS declaration.
[linux-2.6-omap-h63xx.git] / drivers / input / keyboard / omap-twl4030keypad.c
index 20aeb3c611c33dde7905b39cdfb197271af6d965..68c5b8e5112dc5eed5b5dc873ce30aa60a46e56b 100644 (file)
@@ -158,7 +158,7 @@ static void twl4030_kp_scan(int release_all)
                if (!changed)
                        continue;
 
-               for (col = 0; col < n_cols + 1; col++) {
+               for (col = 0; col < n_cols; col++) {
                        int key;
 
                        if (!(changed & (1 << col)))
@@ -373,4 +373,3 @@ MODULE_ALIAS("platform:omap_twl4030keypad");
 MODULE_AUTHOR("Texas Instruments");
 MODULE_DESCRIPTION("OMAP TWL4030 Keypad Driver");
 MODULE_LICENSE("GPL");
-MODULE_ALIAS("platform:omap_twl4030keypad");