linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Input: cyttsp - Remove unnecessary MODULE_ALIAS()
@ 2015-08-29  1:05 Javier Martinez Canillas
  2015-09-03 17:48 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: Javier Martinez Canillas @ 2015-08-29  1:05 UTC (permalink / raw)
  To: linux-kernel
  Cc: Javier Martinez Canillas, Ferruh Yigit, Dmitry Torokhov,
	linux-input

The drivers have a I2C device ID table that is used to create the module
aliases and also "cyttsp" and "cyttsp4" are not supported I2C device IDs
so these module aliases are never used.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>

---

 drivers/input/touchscreen/cyttsp4_i2c.c | 1 -
 drivers/input/touchscreen/cyttsp_i2c.c  | 1 -
 2 files changed, 2 deletions(-)

diff --git a/drivers/input/touchscreen/cyttsp4_i2c.c b/drivers/input/touchscreen/cyttsp4_i2c.c
index 9a323dd915de..a9f95c7d3c00 100644
--- a/drivers/input/touchscreen/cyttsp4_i2c.c
+++ b/drivers/input/touchscreen/cyttsp4_i2c.c
@@ -86,4 +86,3 @@ module_i2c_driver(cyttsp4_i2c_driver);
 MODULE_LICENSE("GPL");
 MODULE_DESCRIPTION("Cypress TrueTouch(R) Standard Product (TTSP) I2C driver");
 MODULE_AUTHOR("Cypress");
-MODULE_ALIAS("i2c:cyttsp4");
diff --git a/drivers/input/touchscreen/cyttsp_i2c.c b/drivers/input/touchscreen/cyttsp_i2c.c
index 519e2de2f8df..eee51b3f2e3f 100644
--- a/drivers/input/touchscreen/cyttsp_i2c.c
+++ b/drivers/input/touchscreen/cyttsp_i2c.c
@@ -86,4 +86,3 @@ module_i2c_driver(cyttsp_i2c_driver);
 MODULE_LICENSE("GPL");
 MODULE_DESCRIPTION("Cypress TrueTouch(R) Standard Product (TTSP) I2C driver");
 MODULE_AUTHOR("Cypress");
-MODULE_ALIAS("i2c:cyttsp");
-- 
2.4.3


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

* Re: [PATCH] Input: cyttsp - Remove unnecessary MODULE_ALIAS()
  2015-08-29  1:05 [PATCH] Input: cyttsp - Remove unnecessary MODULE_ALIAS() Javier Martinez Canillas
@ 2015-09-03 17:48 ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2015-09-03 17:48 UTC (permalink / raw)
  To: Javier Martinez Canillas; +Cc: linux-kernel, Ferruh Yigit, linux-input

On Sat, Aug 29, 2015 at 03:05:24AM +0200, Javier Martinez Canillas wrote:
> The drivers have a I2C device ID table that is used to create the module
> aliases and also "cyttsp" and "cyttsp4" are not supported I2C device IDs
> so these module aliases are never used.
> 
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>

Applied, thank you.

> 
> ---
> 
>  drivers/input/touchscreen/cyttsp4_i2c.c | 1 -
>  drivers/input/touchscreen/cyttsp_i2c.c  | 1 -
>  2 files changed, 2 deletions(-)
> 
> diff --git a/drivers/input/touchscreen/cyttsp4_i2c.c b/drivers/input/touchscreen/cyttsp4_i2c.c
> index 9a323dd915de..a9f95c7d3c00 100644
> --- a/drivers/input/touchscreen/cyttsp4_i2c.c
> +++ b/drivers/input/touchscreen/cyttsp4_i2c.c
> @@ -86,4 +86,3 @@ module_i2c_driver(cyttsp4_i2c_driver);
>  MODULE_LICENSE("GPL");
>  MODULE_DESCRIPTION("Cypress TrueTouch(R) Standard Product (TTSP) I2C driver");
>  MODULE_AUTHOR("Cypress");
> -MODULE_ALIAS("i2c:cyttsp4");
> diff --git a/drivers/input/touchscreen/cyttsp_i2c.c b/drivers/input/touchscreen/cyttsp_i2c.c
> index 519e2de2f8df..eee51b3f2e3f 100644
> --- a/drivers/input/touchscreen/cyttsp_i2c.c
> +++ b/drivers/input/touchscreen/cyttsp_i2c.c
> @@ -86,4 +86,3 @@ module_i2c_driver(cyttsp_i2c_driver);
>  MODULE_LICENSE("GPL");
>  MODULE_DESCRIPTION("Cypress TrueTouch(R) Standard Product (TTSP) I2C driver");
>  MODULE_AUTHOR("Cypress");
> -MODULE_ALIAS("i2c:cyttsp");
> -- 
> 2.4.3
> 

-- 
Dmitry

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

end of thread, other threads:[~2015-09-03 17:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-29  1:05 [PATCH] Input: cyttsp - Remove unnecessary MODULE_ALIAS() Javier Martinez Canillas
2015-09-03 17:48 ` 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).