diff mbox

[2/2] backlight: adp8870: Remove unnecessary MODULE_ALIAS()

Message ID 1440970465-11651-2-git-send-email-javier@osg.samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Javier Martinez Canillas Aug. 30, 2015, 9:34 p.m. UTC
The driver has a I2C device id table that is used to create the modaliases
and also "adp8870-backlight" is not a supported I2C id, so it's never used.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>

---

 drivers/video/backlight/adp8870_bl.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Lee Jones Sept. 20, 2015, 4:20 a.m. UTC | #1
On Sun, 30 Aug 2015, Javier Martinez Canillas wrote:

> The driver has a I2C device id table that is used to create the modaliases
> and also "adp8870-backlight" is not a supported I2C id, so it's never used.
> 
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
> 
> ---
> 
>  drivers/video/backlight/adp8870_bl.c | 1 -
>  1 file changed, 1 deletion(-)

Applied, thanks.

> diff --git a/drivers/video/backlight/adp8870_bl.c b/drivers/video/backlight/adp8870_bl.c
> index 037e43083343..9d738352d7d4 100644
> --- a/drivers/video/backlight/adp8870_bl.c
> +++ b/drivers/video/backlight/adp8870_bl.c
> @@ -992,4 +992,3 @@ module_i2c_driver(adp8870_driver);
>  MODULE_LICENSE("GPL v2");
>  MODULE_AUTHOR("Michael Hennerich <hennerich@blackfin.uclinux.org>");
>  MODULE_DESCRIPTION("ADP8870 Backlight driver");
> -MODULE_ALIAS("i2c:adp8870-backlight");
diff mbox

Patch

diff --git a/drivers/video/backlight/adp8870_bl.c b/drivers/video/backlight/adp8870_bl.c
index 037e43083343..9d738352d7d4 100644
--- a/drivers/video/backlight/adp8870_bl.c
+++ b/drivers/video/backlight/adp8870_bl.c
@@ -992,4 +992,3 @@  module_i2c_driver(adp8870_driver);
 MODULE_LICENSE("GPL v2");
 MODULE_AUTHOR("Michael Hennerich <hennerich@blackfin.uclinux.org>");
 MODULE_DESCRIPTION("ADP8870 Backlight driver");
-MODULE_ALIAS("i2c:adp8870-backlight");