* Roman Tereshonkov <roman.tereshonkov@xxxxxxxxx> [080626 17:23]: > Only once MODULE_ALIAS declaration is enough. > Columns are counted from 0 to n_cols - 1. Pushing today. Tony > Signed-off-by: Roman Tereshonkov <roman.tereshonkov@xxxxxxxxx> > --- > drivers/input/keyboard/omap-twl4030keypad.c | 3 +-- > 1 files changed, 1 insertions(+), 2 deletions(-) > > diff --git a/drivers/input/keyboard/omap-twl4030keypad.c b/drivers/input/keyboard/omap-twl4030keypad.c > index 20aeb3c..68c5b8e 100644 > --- a/drivers/input/keyboard/omap-twl4030keypad.c > +++ b/drivers/input/keyboard/omap-twl4030keypad.c > @@ -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"); > -- > 1.5.5.1 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-omap" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html