Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1215632 > unrolled thread

[PATCH] Input: cyttsp - Remove unnecessary MODULE_ALIAS()

Started byJavier Martinez Canillas <javier@osg.samsung.com>
First post2015-08-29 03:10 +0200
Last post2015-09-03 19:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] Input: cyttsp - Remove unnecessary MODULE_ALIAS() Javier Martinez Canillas <javier@osg.samsung.com> - 2015-08-29 03:10 +0200
    Re: [PATCH] Input: cyttsp - Remove unnecessary MODULE_ALIAS() Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2015-09-03 19:50 +0200

#1215632 — [PATCH] Input: cyttsp - Remove unnecessary MODULE_ALIAS()

FromJavier Martinez Canillas <javier@osg.samsung.com>
Date2015-08-29 03:10 +0200
Subject[PATCH] Input: cyttsp - Remove unnecessary MODULE_ALIAS()
Message-ID<q2COC-3lr-9@gated-at.bofh.it>
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1218469

FromDmitry Torokhov <dmitry.torokhov@gmail.com>
Date2015-09-03 19:50 +0200
Message-ID<q4GO6-28h-27@gated-at.bofh.it>
In reply to#1215632
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web