[PATCH 0/6] pinctrl: trivial demodularization of builtin code

From: Paul Gortmaker
Date: Tue Aug 23 2016 - 17:23:57 EST


This list of changes represents pinctrl drivers that use MODULE_<xyz>
tags but otherwise don't make use of any other module_<xyz> functions
or macros.

Since the former are no-ops when built-in, we simply remove these
MODULE_<xyz> tags and the module.h include that provides them, while
ensuring the information in the tag is properly represented in the
file at the comments at the top or similar.

Since these tags are no-ops, and we don't remove any orphaned fcns
for __exit or .remove support here, the drivers are binary equivalent
before and after this change -- i.e. zero runtime regression risk.

Paul.
---

Cc: Alessandro Rubini <rubini@xxxxxxxx>
Cc: Barry Song <baohua@xxxxxxxxxx>
Cc: Heiko Stuebner <heiko@xxxxxxxxx>
Cc: Hongzhou Yang <hongzhou.yang@xxxxxxxxxxxx>
Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>
Cc: Patrice Chotard <patrice.chotard@xxxxxx>
Cc: Rongjun Ying <rongjun.ying@xxxxxxx>
Cc: Yuping Luo <yuping.luo@xxxxxxx>
Cc: linux-gpio@xxxxxxxxxxxxxxx
Cc: linux-rockchip@xxxxxxxxxxxxxxxxxxx

Paul Gortmaker (6):
pinctrl: mediatek: make mtk-common explicitly non-modular
pinctrl: nomadik: make abx500 explicitly non-modular
pinctrl: nomadik: make core support explicitly non-modular
pinctrl: rockchip: make it explicitly non-modular
pinctrl: sirf: make atlas7 explicitly non-modular
pinctrl: sirf: make core support explicitly non-modular

drivers/pinctrl/mediatek/pinctrl-mtk-common.c | 5 -----
drivers/pinctrl/nomadik/pinctrl-abx500.c | 8 ++------
drivers/pinctrl/nomadik/pinctrl-nomadik.c | 5 -----
drivers/pinctrl/pinctrl-rockchip.c | 7 +------
drivers/pinctrl/sirf/pinctrl-atlas7.c | 5 +----
drivers/pinctrl/sirf/pinctrl-sirf.c | 12 +++++-------
6 files changed, 9 insertions(+), 33 deletions(-)

--
2.8.4