lkml.org 
[lkml]   [2015]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] mfd: rt5033: Remove unnecessary MODULE_ALIAS()
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@osg.samsung.com>
>
> ---
>
> 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@samsung.com>");
> MODULE_LICENSE("GPL");

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog


\
 
 \ /
  Last update: 2015-09-20 06:41    [W:0.090 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site