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 <[email protected]>
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 <[email protected]>");
> --
> 1.9.1
>
>
>
--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html