summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/da9052-core.c
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2023-03-08 19:42:51 +0000
committerLee Jones <lee@kernel.org>2023-04-26 11:40:32 +0100
commitca9642a623dfc43a8ec8b0ba4694605ea74cef20 (patch)
treebc745ef0970d0d9d129271416059b041be1f5020 /drivers/mfd/da9052-core.c
parentadefecd9b506a6f9981cdcda97ae6803bdea0180 (diff)
downloadlinux-stable-ca9642a623dfc43a8ec8b0ba4694605ea74cef20.tar.gz
linux-stable-ca9642a623dfc43a8ec8b0ba4694605ea74cef20.tar.bz2
linux-stable-ca9642a623dfc43a8ec8b0ba4694605ea74cef20.zip
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. Signed-off-by: Nick Alcock <nick.alcock@oracle.com> Suggested-by: Luis Chamberlain <mcgrof@kernel.org> Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/mfd/da9052-core.c')
-rw-r--r--drivers/mfd/da9052-core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/da9052-core.c b/drivers/mfd/da9052-core.c
index 8b42d2f7024f..150448cd2eb0 100644
--- a/drivers/mfd/da9052-core.c
+++ b/drivers/mfd/da9052-core.c
@@ -653,4 +653,3 @@ void da9052_device_exit(struct da9052 *da9052)
MODULE_AUTHOR("David Dajun Chen <dchen@diasemi.com>");
MODULE_DESCRIPTION("DA9052 MFD Core");
-MODULE_LICENSE("GPL");