Messages in this thread | | | From | Paul Gortmaker <> | Subject | [PATCH 0/6] pinctrl: trivial demodularization of builtin code | Date | Tue, 23 Aug 2016 17:19:38 -0400 |
| |
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@unipv.it> Cc: Barry Song <baohua@kernel.org> Cc: Heiko Stuebner <heiko@sntech.de> Cc: Hongzhou Yang <hongzhou.yang@mediatek.com> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Patrice Chotard <patrice.chotard@st.com> Cc: Rongjun Ying <rongjun.ying@csr.com> Cc: Yuping Luo <yuping.luo@csr.com> Cc: linux-gpio@vger.kernel.org Cc: linux-rockchip@lists.infradead.org
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
| |