Skip to contentSkip to conversation

mfd: da903x: remove MODULE_LICENSE in non-modules

PATCH In review Nick Alcock 3 participants 20 messages Mar 8, 2023 – Mar 16, 2023

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

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
index 44a25d642ce94..6570b33a5a77b 100644
@@ -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
#1 lore raw

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
index 8b42d2f7024f5..150448cd2eb08 100644
@@ -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
#2 lore raw

PATCH 3/18 mfd: da9052-i2c: remove MODULE_LICENSE in non-modules

In reply to Nick Alcock

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-i2c.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mfd/da9052-i2c.c +0 -1
index ecb8077cdaaf9..03db7a2ccf7a0 100644
@@ -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
#3 lore raw

PATCH 4/18 mfd: da9052-spi: remove MODULE_LICENSE in non-modules

In reply to Nick Alcock

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-spi.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mfd/da9052-spi.c +0 -1
index b79a57b45c1e8..be5f2b34e18ae 100644
@@ -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
#4 lore raw

PATCH 5/18 mfd: da9055: remove MODULE_LICENSE in non-modules

In reply to Nick Alcock

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/da9055-core.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mfd/da9055-core.c +0 -1
index c3bcbd8905c6c..768302e05baa1 100644
@@ -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
#5 lore raw

PATCH 6/18 mfd: da9055-i2c: remove MODULE_LICENSE in non-modules

In reply to Nick Alcock

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/da9055-i2c.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mfd/da9055-i2c.c +0 -1
index 702abff506a1a..537fd5de3e6d4 100644
@@ -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
#6 lore raw

PATCH 7/18 mfd: stmpe-i2c: remove MODULE_LICENSE in non-modules

In reply to Nick Alcock

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/stmpe-i2c.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mfd/stmpe-i2c.c +0 -1
index d4944fc1feb18..7998e0db1e158 100644
@@ -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
#7 lore raw

PATCH 8/18 mfd: stmpe-spi: remove MODULE_LICENSE in non-modules

In reply to Nick Alcock

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/stmpe-spi.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mfd/stmpe-spi.c +0 -1
index e9cbf33502b3d..792236f56399a 100644
@@ -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
#8 lore raw

PATCH 9/18 mfd: 88pm860x: remove MODULE_LICENSE in non-modules

In reply to Nick Alcock

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/88pm860x-core.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mfd/88pm860x-core.c +0 -1
index 6ba7169cb953a..3c57e537d57fb 100644
@@ -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
#9 lore raw

PATCH 10/18 mfd: da9055: do not cite as modular

In reply to Nick Alcock

This 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
index fcc141e067b9b..6d32348bdb809 100644
@@ -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
#11 lore raw

PATCH 11/18 mfd: tc3589x: remove MODULE_LICENSE in non-modules

In reply to Nick Alcock

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/tc3589x.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mfd/tc3589x.c +0 -1
index 1f6e0d682cd9f..cbfe19d1b1459 100644
@@ -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
#12 lore raw

PATCH 12/18 mfd: tps6586x: remove MODULE_LICENSE in non-modules

In reply to Nick Alcock

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/tps6586x.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mfd/tps6586x.c +0 -1
index 2d947f3f606a6..90e23232b6b0e 100644
@@ -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
#13 lore raw

PATCH 13/18 mfd: ezx-pcap: remove MODULE_LICENSE in non-modules

In reply to Nick Alcock

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/ezx-pcap.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mfd/ezx-pcap.c +0 -1
index 3d5ce18aa9ae7..8d006f6be48c7 100644
@@ -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
#14 lore raw

PATCH 14/18 mfd: lp8788: remove MODULE_LICENSE in non-modules

In reply to Nick Alcock

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/lp8788.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mfd/lp8788.c +0 -1
index fe809b64147e6..18583addaae28 100644
@@ -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
#15 lore raw

PATCH 15/18 mfd: omap-usb-host: remove MODULE_LICENSE in non-modules

In reply to Nick Alcock

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/omap-usb-host.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mfd/omap-usb-host.c +0 -1
index 787d2ae863752..7f57751095938 100644
@@ -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
#16 lore raw

PATCH 16/18 mfd: omap-usb-tll: remove MODULE_LICENSE in non-modules

In reply to Nick Alcock

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/omap-usb-tll.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mfd/omap-usb-tll.c +0 -1
index 080d7970a3774..8ca4067da6cd3 100644
@@ -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
#17 lore raw

PATCH 17/18 mfd: twl4030-audio: remove MODULE_LICENSE in non-modules

In reply to Nick Alcock

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/twl4030-audio.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mfd/twl4030-audio.c +0 -1
index 4536d829b43e4..88002f8941e5e 100644
@@ -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
#18 lore raw

PATCH 18/18 mfd: twl6040: remove MODULE_LICENSE in non-modules

In reply to Nick Alcock

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/twl6040.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mfd/twl6040.c +0 -1
index fc97fa5a2d0c3..e982119bbefa5 100644
@@ -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
maintainer
#19 lore raw
In reply to Nick Alcock
Quoted 17 lines · Nick Alcock

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.

Quoted 3 lines
---
 drivers/mfd/da903x.c | 1 -
 1 file changed, 1 deletion(-)

All applied, thanks

--
Lee Jones [李琼斯]