diff mbox

[2/2] Input: drv2667 - Remove wrong and unneeded drv2667-haptics modalias

Message ID 1422681705.10152.2.camel@phoenix (mailing list archive)
State New, archived
Headers show

Commit Message

Axel Lin Jan. 31, 2015, 5:21 a.m. UTC
This is a I2C driver, so it's wrong to use platform prefix for the modalias.
We have all needed i2c aliases coming form MODULE_DEVICE_TABLE,
so remove the wrong and unneeded drv2667-haptics modalias.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/input/misc/drv2667.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Dmitry Torokhov Feb. 1, 2015, 4:21 a.m. UTC | #1
On Sat, Jan 31, 2015 at 01:21:45PM +0800, Axel Lin wrote:
> This is a I2C driver, so it's wrong to use platform prefix for the modalias.
> We have all needed i2c aliases coming form MODULE_DEVICE_TABLE,
> so remove the wrong and unneeded drv2667-haptics modalias.
> 
> Signed-off-by: Axel Lin <axel.lin@ingics.com>

Applied both, thank you.

> ---
>  drivers/input/misc/drv2667.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/input/misc/drv2667.c b/drivers/input/misc/drv2667.c
> index a021744..fc0fddf 100644
> --- a/drivers/input/misc/drv2667.c
> +++ b/drivers/input/misc/drv2667.c
> @@ -492,7 +492,6 @@ static struct i2c_driver drv2667_driver = {
>  };
>  module_i2c_driver(drv2667_driver);
>  
> -MODULE_ALIAS("platform:drv2667-haptics");
>  MODULE_DESCRIPTION("TI DRV2667 haptics driver");
>  MODULE_LICENSE("GPL");
>  MODULE_AUTHOR("Dan Murphy <dmurphy@ti.com>");
> -- 
> 1.9.1
> 
> 
>
diff mbox

Patch

diff --git a/drivers/input/misc/drv2667.c b/drivers/input/misc/drv2667.c
index a021744..fc0fddf 100644
--- a/drivers/input/misc/drv2667.c
+++ b/drivers/input/misc/drv2667.c
@@ -492,7 +492,6 @@  static struct i2c_driver drv2667_driver = {
 };
 module_i2c_driver(drv2667_driver);
 
-MODULE_ALIAS("platform:drv2667-haptics");
 MODULE_DESCRIPTION("TI DRV2667 haptics driver");
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Dan Murphy <dmurphy@ti.com>");