diff options
| author | Paul Gortmaker <[email protected]> | 2017-05-22 16:56:47 -0400 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2017-05-29 10:24:42 +0200 |
| commit | e3d2160f12d6aa7a87d9db09d8458b4a3492cd45 (patch) | |
| tree | 09d2a14846b667f12f66d229901d32b1983a375d /tools/perf/scripts/python | |
| parent | 1a8764f45c634b4b9e2aed80a93a40771c84a11a (diff) | |
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 <[email protected]>
Cc: Stephen Warren <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Alexandre Courbot <[email protected]>
Cc: Pritesh Raithatha <[email protected]>
Cc: Ashwini Ghuge <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Paul Gortmaker <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions