mfd: da903x: remove MODULE_LICENSE in non-modules
PATCH 1/18 mfd: da903x: remove MODULE_LICENSE in non-modules
Since commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message.
So remove it in the files in this commit, none of which can be built as modules.
--- drivers/mfd/da903x.c | 1 - 1 file changed, 1 deletion(-)
drivers/mfd/da903x.c +0 -1
@@ -563,4 +563,3 @@ module_exit(da903x_exit);MODULE_DESCRIPTION ("PMIC Driver for Dialog Semiconductor DA9034" );MODULE_AUTHOR ("Eric Miao <[email protected]>" );MODULE_AUTHOR ("Mike Rapoport <[email protected]>" ); -MODULE_LICENSE ("GPL v2" );
Signature · 1 line
2.39.1.268.g9de2f9a303
PATCH 2/18 mfd: da9052: remove MODULE_LICENSE in non-modules
Since commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message.
So remove it in the files in this commit, none of which can be built as modules.
--- drivers/mfd/da9052-core.c | 1 - 1 file changed, 1 deletion(-)
drivers/mfd/da9052-core.c +0 -1
@@ -653,4 +653,3 @@ void da9052_device_exit(struct da9052 *da9052)MODULE_AUTHOR ("David Dajun Chen <[email protected]>" );MODULE_DESCRIPTION ("DA9052 MFD Core" ); -MODULE_LICENSE ("GPL" );
Signature · 1 line
2.39.1.268.g9de2f9a303
PATCH 3/18 mfd: da9052-i2c: remove MODULE_LICENSE in non-modules
In reply to Nick AlcockSince commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message.
So remove it in the files in this commit, none of which can be built as modules.
--- drivers/mfd/da9052-i2c.c | 1 - 1 file changed, 1 deletion(-)
drivers/mfd/da9052-i2c.c +0 -1
@@ -209,4 +209,3 @@ module_exit(da9052_i2c_exit);MODULE_AUTHOR ("David Dajun Chen <[email protected]>" );MODULE_DESCRIPTION ("I2C driver for Dialog DA9052 PMIC" ); -MODULE_LICENSE ("GPL" );
Signature · 1 line
2.39.1.268.g9de2f9a303
PATCH 4/18 mfd: da9052-spi: remove MODULE_LICENSE in non-modules
In reply to Nick AlcockSince commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message.
So remove it in the files in this commit, none of which can be built as modules.
--- drivers/mfd/da9052-spi.c | 1 - 1 file changed, 1 deletion(-)
drivers/mfd/da9052-spi.c +0 -1
@@ -102,4 +102,3 @@ module_exit(da9052_spi_exit);MODULE_AUTHOR ("David Dajun Chen <[email protected]>" );MODULE_DESCRIPTION ("SPI driver for Dialog DA9052 PMIC" ); -MODULE_LICENSE ("GPL" );
Signature · 1 line
2.39.1.268.g9de2f9a303
PATCH 5/18 mfd: da9055: remove MODULE_LICENSE in non-modules
In reply to Nick AlcockSince commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message.
So remove it in the files in this commit, none of which can be built as modules.
--- drivers/mfd/da9055-core.c | 1 - 1 file changed, 1 deletion(-)
drivers/mfd/da9055-core.c +0 -1
@@ -398,5 +398,4 @@ void da9055_device_exit(struct da9055 *da9055) }MODULE_DESCRIPTION ("Core support for the DA9055 PMIC" ); -MODULE_LICENSE ("GPL" );MODULE_AUTHOR ("David Dajun Chen <[email protected]>" );
Signature · 1 line
2.39.1.268.g9de2f9a303
PATCH 6/18 mfd: da9055-i2c: remove MODULE_LICENSE in non-modules
In reply to Nick AlcockSince commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message.
So remove it in the files in this commit, none of which can be built as modules.
--- drivers/mfd/da9055-i2c.c | 1 - 1 file changed, 1 deletion(-)
drivers/mfd/da9055-i2c.c +0 -1
@@ -97,4 +97,3 @@ module_exit(da9055_i2c_exit);MODULE_AUTHOR ("David Dajun Chen <[email protected]>" );MODULE_DESCRIPTION ("I2C driver for Dialog DA9055 PMIC" ); -MODULE_LICENSE ("GPL" );
Signature · 1 line
2.39.1.268.g9de2f9a303
PATCH 7/18 mfd: stmpe-i2c: remove MODULE_LICENSE in non-modules
In reply to Nick AlcockSince commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message.
So remove it in the files in this commit, none of which can be built as modules.
--- drivers/mfd/stmpe-i2c.c | 1 - 1 file changed, 1 deletion(-)
drivers/mfd/stmpe-i2c.c +0 -1
@@ -135,6 +135,5 @@ static void __exit stmpe_exit(void) }module_exit (stmpe_exit); -MODULE_LICENSE ("GPL v2" );MODULE_DESCRIPTION ("STMPE MFD I2C Interface Driver" );MODULE_AUTHOR ("Rabin Vincent <[email protected]>" );
Signature · 7 lines
2.39.1.268.g9de2f9a303 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 8/18 mfd: stmpe-spi: remove MODULE_LICENSE in non-modules
In reply to Nick AlcockSince commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message.
So remove it in the files in this commit, none of which can be built as modules.
--- drivers/mfd/stmpe-spi.c | 1 - 1 file changed, 1 deletion(-)
drivers/mfd/stmpe-spi.c +0 -1
@@ -154,6 +154,5 @@ static void __exit stmpe_exit(void) }module_exit (stmpe_exit); -MODULE_LICENSE ("GPL v2" );MODULE_DESCRIPTION ("STMPE MFD SPI Interface Driver" );MODULE_AUTHOR ("Viresh Kumar <[email protected]>" );
Signature · 1 line
2.39.1.268.g9de2f9a303
PATCH 9/18 mfd: 88pm860x: remove MODULE_LICENSE in non-modules
In reply to Nick AlcockSince commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message.
So remove it in the files in this commit, none of which can be built as modules.
--- drivers/mfd/88pm860x-core.c | 1 - 1 file changed, 1 deletion(-)
drivers/mfd/88pm860x-core.c +0 -1
@@ -1276,4 +1276,3 @@ module_exit(pm860x_i2c_exit);MODULE_DESCRIPTION ("PMIC Driver for Marvell 88PM860x" );MODULE_AUTHOR ("Haojian Zhuang <[email protected]>" ); -MODULE_LICENSE ("GPL" );
Signature · 1 line
2.39.1.268.g9de2f9a303
PATCH 10/18 mfd: da9055: do not cite as modular
In reply to Nick AlcockThis driver cannot be built as a module, so don't suggest otherwise in Kconfig help.
--- drivers/mfd/Kconfig | 3 --- 1 file changed, 3 deletions(-)
drivers/mfd/Kconfig +0 -3
@@ -353,9 +353,6 @@ config MFD_DA9055 Additional drivers must be enabled in order to use the functionality of the device. - This driver can be built as a module. If built as a module it will be - called "da9055" - config MFD_DA9062 tristate "Dialog Semiconductor DA9062/61 PMIC Support" select MFD_CORE
Signature · 1 line
2.39.1.268.g9de2f9a303
Re: [PATCH 10/18] mfd: da9055: do not cite as modular
Quoted 9 lines
This driver cannot be built as a module, so don't suggest otherwise in
Kconfighelp.Signed-off-by Nick Alcock <[email protected]>Suggested-by Lee Jones <[email protected]>Cc Lee Jones <[email protected]>---
PATCH 11/18 mfd: tc3589x: remove MODULE_LICENSE in non-modules
In reply to Nick AlcockSince commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message.
So remove it in the files in this commit, none of which can be built as modules.
--- drivers/mfd/tc3589x.c | 1 - 1 file changed, 1 deletion(-)
drivers/mfd/tc3589x.c +0 -1
@@ -502,6 +502,5 @@ static void __exit tc3589x_exit(void) }module_exit (tc3589x_exit); -MODULE_LICENSE ("GPL v2" );MODULE_DESCRIPTION ("TC3589x MFD core driver" );MODULE_AUTHOR ("Hanumath Prasad, Rabin Vincent" );
Signature · 1 line
2.39.1.268.g9de2f9a303
PATCH 12/18 mfd: tps6586x: remove MODULE_LICENSE in non-modules
In reply to Nick AlcockSince commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message.
So remove it in the files in this commit, none of which can be built as modules.
--- drivers/mfd/tps6586x.c | 1 - 1 file changed, 1 deletion(-)
drivers/mfd/tps6586x.c +0 -1
@@ -638,4 +638,3 @@ module_exit(tps6586x_exit);MODULE_DESCRIPTION ("TPS6586X core driver" );MODULE_AUTHOR ("Mike Rapoport <[email protected]>" ); -MODULE_LICENSE ("GPL" );
Signature · 1 line
2.39.1.268.g9de2f9a303
PATCH 13/18 mfd: ezx-pcap: remove MODULE_LICENSE in non-modules
In reply to Nick AlcockSince commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message.
So remove it in the files in this commit, none of which can be built as modules.
--- drivers/mfd/ezx-pcap.c | 1 - 1 file changed, 1 deletion(-)
drivers/mfd/ezx-pcap.c +0 -1
@@ -528,7 +528,6 @@ static void __exit ezx_pcap_exit(void)subsys_initcall (ezx_pcap_init);module_exit (ezx_pcap_exit); -MODULE_LICENSE ("GPL" );MODULE_AUTHOR ("Daniel Ribeiro / Harald Welte" );MODULE_DESCRIPTION ("Motorola PCAP2 ASIC Driver" );MODULE_ALIAS ("spi:ezx-pcap" );
Signature · 1 line
2.39.1.268.g9de2f9a303
PATCH 14/18 mfd: lp8788: remove MODULE_LICENSE in non-modules
In reply to Nick AlcockSince commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message.
So remove it in the files in this commit, none of which can be built as modules.
--- drivers/mfd/lp8788.c | 1 - 1 file changed, 1 deletion(-)
drivers/mfd/lp8788.c +0 -1
@@ -244,4 +244,3 @@ module_exit(lp8788_exit);MODULE_DESCRIPTION ("TI LP8788 MFD Driver" );MODULE_AUTHOR ("Milo Kim" ); -MODULE_LICENSE ("GPL" );
Signature · 1 line
2.39.1.268.g9de2f9a303
PATCH 15/18 mfd: omap-usb-host: remove MODULE_LICENSE in non-modules
In reply to Nick AlcockSince commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message.
So remove it in the files in this commit, none of which can be built as modules.
--- drivers/mfd/omap-usb-host.c | 1 - 1 file changed, 1 deletion(-)
drivers/mfd/omap-usb-host.c +0 -1
@@ -853,7 +853,6 @@ static struct platform_driver usbhs_omap_driver = {MODULE_AUTHOR ("Keshava Munegowda <[email protected]>" );MODULE_AUTHOR ("Roger Quadros <[email protected]>" );MODULE_ALIAS ("platform:" USBHS_DRIVER_NAME ); -MODULE_LICENSE ("GPL v2" );MODULE_DESCRIPTION ("usb host common core driver for omap EHCI and OHCI" );static int omap_usbhs_drvinit (void )
Signature · 1 line
2.39.1.268.g9de2f9a303
PATCH 16/18 mfd: omap-usb-tll: remove MODULE_LICENSE in non-modules
In reply to Nick AlcockSince commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message.
So remove it in the files in this commit, none of which can be built as modules.
--- drivers/mfd/omap-usb-tll.c | 1 - 1 file changed, 1 deletion(-)
drivers/mfd/omap-usb-tll.c +0 -1
@@ -450,7 +450,6 @@ EXPORT_SYMBOL_GPL(omap_tll_disable);MODULE_AUTHOR ("Keshava Munegowda <[email protected]>" );MODULE_AUTHOR ("Roger Quadros <[email protected]>" ); -MODULE_LICENSE ("GPL v2" );MODULE_DESCRIPTION ("usb tll driver for TI OMAP EHCI and OHCI controllers" );static int __init omap_usbtll_drvinit (void )
Signature · 1 line
2.39.1.268.g9de2f9a303
PATCH 17/18 mfd: twl4030-audio: remove MODULE_LICENSE in non-modules
In reply to Nick AlcockSince commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message.
So remove it in the files in this commit, none of which can be built as modules.
--- drivers/mfd/twl4030-audio.c | 1 - 1 file changed, 1 deletion(-)
drivers/mfd/twl4030-audio.c +0 -1
@@ -285,5 +285,4 @@ module_platform_driver(twl4030_audio_driver);MODULE_AUTHOR ("Peter Ujfalusi <[email protected]>" );MODULE_DESCRIPTION ("TWL4030 audio block MFD driver" ); -MODULE_LICENSE ("GPL" );MODULE_ALIAS ("platform:twl4030-audio" );
Signature · 1 line
2.39.1.268.g9de2f9a303
PATCH 18/18 mfd: twl6040: remove MODULE_LICENSE in non-modules
In reply to Nick AlcockSince commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message.
So remove it in the files in this commit, none of which can be built as modules.
--- drivers/mfd/twl6040.c | 1 - 1 file changed, 1 deletion(-)
drivers/mfd/twl6040.c +0 -1
@@ -839,4 +839,3 @@ module_i2c_driver(twl6040_driver);MODULE_DESCRIPTION ("TWL6040 MFD" );MODULE_AUTHOR ("Misael Lopez Cruz <[email protected]>" );MODULE_AUTHOR ("Jorge Eduardo Candelaria <[email protected]>" ); -MODULE_LICENSE ("GPL" );
Signature · 1 line
2.39.1.268.g9de2f9a303
Lee Jones
maintainerQuoted 17 lines · Nick Alcock
Since commit
8b41fc4454e("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"),MODULE_LICENSEdeclarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message.So remove it in the files in this commit, none of which can be built as modules.
Signed-off-by Nick Alcock <[email protected]>Suggested-by Luis Chamberlain <[email protected]>Cc Luis Chamberlain <[email protected]>Cc Support Opensource <[email protected]>Cc Lee Jones <[email protected]>
Quoted 3 lines
--- drivers/mfd/da903x.c | 1 - 1 file changed, 1 deletion(-)
All applied, thanks
--
Lee Jones [李琼斯]