linux_dsm_epyc7002/drivers/pinctrl/tegra
Paul Gortmaker e3d2160f12 pinctrl: tegra: clean up modular vs. non-modular distinctions
None of the Kconfigs for any of these drivers are tristate,
meaning that they currently are not being built as a module by anyone.

Lets remove the modular code that is essentially orphaned, so that
when reading the drivers there is no doubt they are builtin-only.  All
drivers get similar changes, so they are handled in batch.

We remove module.h from code that isn't doing anything modular at
all;  if they have __init sections, then replace it with init.h.

A couple drivers have module_exit() code that is essentially orphaned,
and so we remove that.

Quite a few bool drivers (hence non-modular) are converted over to
to builtin_platform_driver().

Since module_platform_driver() uses the same init level priority as
builtin_platform_driver() the init ordering remains unchanged with
this commit.

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

We also delete the MODULE_LICENSE tag etc. since all that information
was (or is now) contained at the top of the file in the comments.

Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Alexandre Courbot <gnurou@gmail.com>
Cc: Pritesh Raithatha <praithatha@nvidia.com>
Cc: Ashwini Ghuge <aghuge@nvidia.com>
Cc: linux-gpio@vger.kernel.org
Cc: linux-tegra@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2017-05-29 10:24:42 +02:00
..
Kconfig
Makefile pinctrl: tegra: Fix build dependency 2016-06-22 17:58:07 +02:00
pinctrl-tegra20.c pinctrl: tegra: clean up modular vs. non-modular distinctions 2017-05-29 10:24:42 +02:00
pinctrl-tegra30.c pinctrl: tegra: clean up modular vs. non-modular distinctions 2017-05-29 10:24:42 +02:00
pinctrl-tegra114.c pinctrl: tegra: clean up modular vs. non-modular distinctions 2017-05-29 10:24:42 +02:00
pinctrl-tegra124.c pinctrl: tegra: clean up modular vs. non-modular distinctions 2017-05-29 10:24:42 +02:00
pinctrl-tegra210.c pinctrl: tegra: clean up modular vs. non-modular distinctions 2017-05-29 10:24:42 +02:00
pinctrl-tegra-xusb.c pinctrl: tegra: xusb: Silence sparse warnings 2017-04-24 18:35:54 +02:00
pinctrl-tegra.c pinctrl: tegra: clean up modular vs. non-modular distinctions 2017-05-29 10:24:42 +02:00
pinctrl-tegra.h Revert "Revert "pinctrl: tegra: avoid parked_reg and parked_bank"" 2016-05-30 09:41:45 +02:00