Commit ba4446eb authored by Roman Tereshonkov's avatar Roman Tereshonkov Committed by Tony Lindgren

Remove double MODULE_ALIAS declaration.

Only once MODULE_ALIAS declaration is enough.
Columns are counted from 0 to n_cols - 1.
Signed-off-by: default avatarRoman Tereshonkov <roman.tereshonkov@nokia.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent d50a9b42
......@@ -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");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment