Skip to contentSkip to conversation

mfd: twl6040: Remove wrong and unneeded "platform:twl6040" modalias

PATCH Applied Axel Lin 2 participants 2 messages Mar 30, 2015

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 mfd: twl6040: Remove wrong and unneeded "platform:twl6040" modalias

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 let's remove the wrong and unneeded "platform:twl6040" modalias.

---
 drivers/mfd/twl6040.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mfd/twl6040.c +0 -1
index f71ee3d..c5265c1 100644
@@ -814,4 +814,3 @@ MODULE_DESCRIPTION("TWL6040 MFD");
 MODULE_AUTHOR("Misael Lopez Cruz <[email protected]>");
 MODULE_AUTHOR("Jorge Eduardo Candelaria <[email protected]>");
 MODULE_LICENSE("GPL");
-MODULE_ALIAS("platform:twl6040");
Signature · 1 line
1.9.1
Applied
#1 lore raw
Quoted 8 lines · Axel Lin

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 let's remove the wrong and unneeded "platform:twl6040" modalias.

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

Applied, thanks.

Quoted 9 lines
drivers/mfd/twl6040.c +0 -1
index f71ee3d..c5265c1 100644
@@ -814,4 +814,3 @@ MODULE_DESCRIPTION("TWL6040 MFD");
 MODULE_AUTHOR("Misael Lopez Cruz <[email protected]>");
 MODULE_AUTHOR("Jorge Eduardo Candelaria <[email protected]>");
 MODULE_LICENSE("GPL");
-MODULE_ALIAS("platform:twl6040");
Signature · 8 lines
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-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html