linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] Input: ad7879-i2c - remove redundant MODULE_ALIAS
@ 2011-11-29  2:07 Axel Lin
  2011-11-29  2:08 ` [PATCH 2/2] Input: samsung-keypad " Axel Lin
  2011-11-29  9:23 ` [PATCH 1/2] Input: ad7879-i2c " Dmitry Torokhov
  0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2011-11-29  2:07 UTC (permalink / raw)
  To: linux-kernel; +Cc: Michael Hennerich, Dmitry Torokhov, linux-input

MODULE_DEVICE_TABLE will setup the module alias for us, thus adding
MODULE_ALIAS for an entry already in MODULE_DEVICE_TABLE is redundant.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 drivers/input/touchscreen/ad7879-i2c.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/input/touchscreen/ad7879-i2c.c b/drivers/input/touchscreen/ad7879-i2c.c
index c4b5117..b746702 100644
--- a/drivers/input/touchscreen/ad7879-i2c.c
+++ b/drivers/input/touchscreen/ad7879-i2c.c
@@ -117,4 +117,3 @@ module_exit(ad7879_i2c_exit);
 MODULE_AUTHOR("Michael Hennerich <hennerich@blackfin.uclinux.org>");
 MODULE_DESCRIPTION("AD7879(-1) touchscreen I2C bus driver");
 MODULE_LICENSE("GPL");
-MODULE_ALIAS("i2c:ad7879");
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] Input: samsung-keypad - remove redundant MODULE_ALIAS
  2011-11-29  2:07 [PATCH 1/2] Input: ad7879-i2c - remove redundant MODULE_ALIAS Axel Lin
@ 2011-11-29  2:08 ` Axel Lin
  2011-11-29  9:23 ` [PATCH 1/2] Input: ad7879-i2c " Dmitry Torokhov
  1 sibling, 0 replies; 3+ messages in thread
From: Axel Lin @ 2011-11-29  2:08 UTC (permalink / raw)
  To: linux-kernel; +Cc: Joonyoung Shim, Donghwa Lee, Dmitry Torokhov, linux-input

MODULE_DEVICE_TABLE will setup the module alias for us, thus adding
MODULE_ALIAS for an entry already in MODULE_DEVICE_TABLE is redundant.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 drivers/input/keyboard/samsung-keypad.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/input/keyboard/samsung-keypad.c b/drivers/input/keyboard/samsung-keypad.c
index adfdcb4..6fc54b1 100644
--- a/drivers/input/keyboard/samsung-keypad.c
+++ b/drivers/input/keyboard/samsung-keypad.c
@@ -634,4 +634,3 @@ MODULE_DESCRIPTION("Samsung keypad driver");
 MODULE_AUTHOR("Joonyoung Shim <jy0922.shim@samsung.com>");
 MODULE_AUTHOR("Donghwa Lee <dh09.lee@samsung.com>");
 MODULE_LICENSE("GPL");
-MODULE_ALIAS("platform:samsung-keypad");
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] Input: ad7879-i2c - remove redundant MODULE_ALIAS
  2011-11-29  2:07 [PATCH 1/2] Input: ad7879-i2c - remove redundant MODULE_ALIAS Axel Lin
  2011-11-29  2:08 ` [PATCH 2/2] Input: samsung-keypad " Axel Lin
@ 2011-11-29  9:23 ` Dmitry Torokhov
  1 sibling, 0 replies; 3+ messages in thread
From: Dmitry Torokhov @ 2011-11-29  9:23 UTC (permalink / raw)
  To: Axel Lin; +Cc: linux-kernel, Michael Hennerich, linux-input

On Tue, Nov 29, 2011 at 10:07:52AM +0800, Axel Lin wrote:
> MODULE_DEVICE_TABLE will setup the module alias for us, thus adding
> MODULE_ALIAS for an entry already in MODULE_DEVICE_TABLE is redundant.
> 

Applied this and samsung-keypad one. Thanks Axel.

-- 
Dmitry

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-29  9:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-29  2:07 [PATCH 1/2] Input: ad7879-i2c - remove redundant MODULE_ALIAS Axel Lin
2011-11-29  2:08 ` [PATCH 2/2] Input: samsung-keypad " Axel Lin
2011-11-29  9:23 ` [PATCH 1/2] Input: ad7879-i2c " Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).