Re: [PATCH 2/2] mfd: rt5033: Remove unnecessary MODULE_ALIAS()

From: Lee Jones
Date: Sun Sep 20 2015 - 00:20:24 EST


On Mon, 31 Aug 2015, Javier Martinez Canillas wrote:

> The driver has a I2C device id table that is used to create the module
> aliases which already contains a "rt5033". So the alias is not needed.
>
> Signed-off-by: Javier Martinez Canillas <javier@xxxxxxxxxxxxxxx>
>
> ---
>
> drivers/mfd/rt5033.c | 1 -
> 1 file changed, 1 deletion(-)

Applied, thanks.

> diff --git a/drivers/mfd/rt5033.c b/drivers/mfd/rt5033.c
> index d60f91619c4a..110de2a583af 100644
> --- a/drivers/mfd/rt5033.c
> +++ b/drivers/mfd/rt5033.c
> @@ -137,7 +137,6 @@ static struct i2c_driver rt5033_driver = {
> };
> module_i2c_driver(rt5033_driver);
>
> -MODULE_ALIAS("i2c:rt5033");
> MODULE_DESCRIPTION("Richtek RT5033 multi-function core driver");
> MODULE_AUTHOR("Beomho Seo <beomho.seo@xxxxxxxxxxx>");
> MODULE_LICENSE("GPL");

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/