* [PATCH] Remove double MODULE_ALIAS declaration.
@ 2008-06-26 14:17 Roman Tereshonkov
2008-08-05 9:14 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Roman Tereshonkov @ 2008-06-26 14:17 UTC (permalink / raw)
To: linux-omap; +Cc: Roman Tereshonkov
Only once MODULE_ALIAS declaration is enough.
Columns are counted from 0 to n_cols - 1.
Signed-off-by: Roman Tereshonkov <roman.tereshonkov@nokia.com>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Remove double MODULE_ALIAS declaration.
2008-06-26 14:17 [PATCH] Remove double MODULE_ALIAS declaration Roman Tereshonkov
@ 2008-08-05 9:14 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2008-08-05 9:14 UTC (permalink / raw)
To: Roman Tereshonkov; +Cc: linux-omap
* Roman Tereshonkov <roman.tereshonkov@nokia.com> [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@nokia.com>
> ---
> 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@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-08-05 9:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-26 14:17 [PATCH] Remove double MODULE_ALIAS declaration Roman Tereshonkov
2008-08-05 9:14 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox