[PATCH 0/6] mfd: audit and demodule drivers/mfd/ab* drivers

Paul Gortmaker
2016-10-30T01:26:32Z

Nothing new here ; just another instance where we had modular remove
and exit functions -- but the Makefile/Kconfig limited the use case to
being always built-in; hence the code is useless and needs removing.

So we remove the dead code and the misleading hints of modularity from
these drivers, hoping that we manage to prevent some new drivers from
copying these same old mistakes into pending new drivers.

Paul.
---

Cc: Lee Jones <lee.jones@linaro.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Mattias Wallin <mattias.wallin@stericsson.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: linux-arm-kernel@lists.infradead.org

Paul Gortmaker (6):
mfd: ab3100-core: Make it explicitly non-modular
mfd: ab8500-core: Make it explicitly non-modular
mfd: ab8500-debugfs: Make it explicitly non-modular
mfd: ab8500-gpadc: Make it explicitly non-modular
mfd: ab8500: make sysctrl explicitly non-modular
mfd: abx500-core: drop unused MODULE_ tags from non-modular code

drivers/mfd/ab3100-core.c | 39 +++------------------------------------
drivers/mfd/ab8500-core.c | 37 ++++++-------------------------------
drivers/mfd/ab8500-debugfs.c | 21 ++-------------------
drivers/mfd/ab8500-gpadc.c | 19 ++-----------------
drivers/mfd/ab8500-sysctrl.c | 9 ++++-----
drivers/mfd/abx500-core.c | 7 ++-----
6 files changed, 19 insertions(+), 113 deletions(-)

--
2.10.1