]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
mfd: db8500-prcmu: Drop unused MODULE_ tags from non-modular code
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 13 Jan 2019 18:36:35 +0000 (13:36 -0500)
committerLee Jones <lee.jones@linaro.org>
Fri, 1 Feb 2019 08:21:13 +0000 (08:21 +0000)
commitadef9cf549be912f559e82918ecbe18d54649cee
tree5cd5b79c7b6b7d425b0b52a415a3a124422d798e
parent1e89d907460628fe8cc8e0bb604879d2e055d744
mfd: db8500-prcmu: Drop unused MODULE_ tags from non-modular code

The Kconfig currently controlling compilation of this code is:

drivers/mfd/Kconfig:config MFD_DB8500_PRCMU
drivers/mfd/Kconfig:    bool "ST-Ericsson DB8500 Power Reset Control Management Unit"

...meaning that it currently is not being built as a module by anyone.

Lets remove the couple traces of modular infrastructure use, so that
when reading the driver there is no doubt it is builtin-only.

We delete the MODULE_LICENSE tag etc. since all that information
is already contained at the top of the file in the comments.

We replace module.h with init.h and export.h ; the latter since the
file does export some symbols.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/db8500-prcmu.c