Skip to contentSkip to conversation

mfd: bcm590xx: Remove unnecessary MODULE_ALIAS()

PATCH Applied Javier Martinez Canillas 2 participants 4 messages Aug 30, 2015 – Sep 20, 2015 Multifunction devices (MFD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 mfd: bcm590xx: Remove unnecessary MODULE_ALIAS()

The driver has a I2C device id table that is used to create the module aliases and also "bcm590xx" isn't a supported I2C id, so it's never used.

---

 drivers/mfd/bcm590xx.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mfd/bcm590xx.c +0 -1
index da2af5b4f855..320aaefee718 100644
@@ -128,4 +128,3 @@ module_i2c_driver(bcm590xx_i2c_driver);
 MODULE_AUTHOR("Matt Porter <[email protected]>");
 MODULE_DESCRIPTION("BCM590xx multi-function driver");
 MODULE_LICENSE("GPL v2");
-MODULE_ALIAS("i2c:bcm590xx");
Signature · 1 line
2.4.3
#1 lore raw

PATCH 2/2 mfd: rt5033: Remove unnecessary MODULE_ALIAS()

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.

---

 drivers/mfd/rt5033.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mfd/rt5033.c +0 -1
index d60f91619c4a..110de2a583af 100644
@@ -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 <[email protected]>");
 MODULE_LICENSE("GPL");
Signature · 1 line
2.4.3
Applied
#2 lore raw

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

Quoted 9 lines · Javier Martinez Canillas

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.

---

 drivers/mfd/rt5033.c | 1 -
 1 file changed, 1 deletion(-)

Applied, thanks.

Quoted 12 lines
drivers/mfd/rt5033.c +0 -1
index d60f91619c4a..110de2a583af 100644
@@ -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 <[email protected]>");
 MODULE_LICENSE("GPL");
Signature · 4 lines
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
Applied
#3 lore raw
In reply to Javier Martinez Canillas
Quoted 9 lines · Javier Martinez Canillas

The driver has a I2C device id table that is used to create the module aliases and also "bcm590xx" isn't a supported I2C id, so it's never used.

---

 drivers/mfd/bcm590xx.c | 1 -
 1 file changed, 1 deletion(-)

Applied, thanks.

Quoted 9 lines
drivers/mfd/bcm590xx.c +0 -1
index da2af5b4f855..320aaefee718 100644
@@ -128,4 +128,3 @@ module_i2c_driver(bcm590xx_i2c_driver);
 MODULE_AUTHOR("Matt Porter <[email protected]>");
 MODULE_DESCRIPTION("BCM590xx multi-function driver");
 MODULE_LICENSE("GPL v2");
-MODULE_ALIAS("i2c:bcm590xx");
Signature · 4 lines
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog