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

Paul Gortmaker paul.gortmaker at windriver.com
Tue Aug 23 14:19:38 PDT 2016


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 at unipv.it>
Cc: Barry Song <baohua at kernel.org>
Cc: Heiko Stuebner <heiko at sntech.de>
Cc: Hongzhou Yang <hongzhou.yang at mediatek.com>
Cc: Linus Walleij <linus.walleij at linaro.org>
Cc: Patrice Chotard <patrice.chotard at st.com>
Cc: Rongjun Ying <rongjun.ying at csr.com>
Cc: Yuping Luo <yuping.luo at csr.com>
Cc: linux-gpio at vger.kernel.org
Cc: linux-rockchip at 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




More information about the Linux-rockchip mailing list