mfd: sta2x11: Drop unused MODULE_ tags from non-modular code
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 13 Jan 2019 18:36:39 +0000 (13:36 -0500)
committerLee Jones <lee.jones@linaro.org>
Fri, 1 Feb 2019 08:21:13 +0000 (08:21 +0000)
commitcf090914da11e067a6f0438651912929c8b038f2
treef0bf483a234412168f50d5783069c705a397e3ce
parentcbd230978fe6349912325f739f3f1720e6599504
mfd: sta2x11: Drop unused MODULE_ tags from non-modular code

The Kconfig currently controlling compilation of this code is:

drivers/mfd/Kconfig:config MFD_STA2X11
drivers/mfd/Kconfig:    bool "STMicroelectronics STA2X11"

...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.

Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.

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>
Acked-by: Alessandro Rubini <rubini@gnudd.com>
Acked-by: Davide Ciminaghi <ciminaghi@gnudd.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/sta2x11-mfd.c