mfd: twl6040: Remove wrong and unneeded "platform:twl6040" modalias
Subsystems (2)
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.
Signed-off-by Axel Lin <[email protected]>
--- drivers/mfd/twl6040.c | 1 - 1 file changed, 1 deletion(-)
drivers/mfd/twl6040.c +0 -1
@@ -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
Lee Jones
AppliedQuoted 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.Signed-off-by Axel Lin <[email protected]>--- drivers/mfd/twl6040.c | 1 - 1 file changed, 1 deletion(-)
Applied, thanks.
Quoted 9 lines
drivers/mfd/twl6040.c +0
-1@@ -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