Message ID | 1422681705.10152.2.camel@phoenix (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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 --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>");
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(-)