OSDN Git Service

mfd: htc-i2cpld: Make it explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 13 Jan 2019 18:36:36 +0000 (13:36 -0500)
committerLee Jones <lee.jones@linaro.org>
Fri, 1 Feb 2019 08:21:13 +0000 (08:21 +0000)
commit11165223e9a617798268a1c743364ead4395b905
treec17116fa79ceacfc85b8c98b1675b1ccb3364099
parentadef9cf549be912f559e82918ecbe18d54649cee
mfd: htc-i2cpld: Make it explicitly non-modular

The Kconfig for this option is currently:

config HTC_I2CPLD
        bool "HTC I2C PLD chip support"

...meaning that it currently is not being built as a module by anyone.
Lets remove the modular code that is essentially orphaned, so that
when reading the driver there is no doubt it is builtin-only.

Since module_init translates to device_initcall in the non-modular
case, the init ordering remains unchanged with this commit.

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

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