Skip to content

pinctrl: trivial demodularization of builtin code

Paul Gortmaker linux-gpio linux-rockchip lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6pinctrl: mediatek: make mtk-common explicitly non-modulardrivers/pinctrl/mediatek/pinctrl-mtk-common.c+0 -51 reply
2/6pinctrl: nomadik: make abx500 explicitly non-modulardrivers/pinctrl/nomadik/pinctrl-abx500.c+2 -61 reply
3/6pinctrl: nomadik: make core support explicitly non-modulardrivers/pinctrl/nomadik/pinctrl-nomadik.c+0 -51 reply
4/6pinctrl: rockchip: make it explicitly non-modulardrivers/pinctrl/pinctrl-rockchip.c+1 -61 reply
5/6pinctrl: sirf: make atlas7 explicitly non-modulardrivers/pinctrl/sirf/pinctrl-atlas7.c+1 -41 reply
6/6pinctrl: sirf: make core support explicitly non-modulardrivers/pinctrl/sirf/pinctrl-sirf.c+5 -71 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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 <[email protected]>
Cc Barry Song <[email protected]>
Cc Heiko Stuebner <[email protected]>
Cc Hongzhou Yang <hongzhou.yang-NuS5LvNUpcJWk0Htik3J/[email protected]>
Cc Linus Walleij <[email protected]>
Cc Patrice Chotard <[email protected]>
Cc Rongjun Ying <[email protected]>
Cc Yuping Luo <[email protected]>

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(-)
Signature · 1 line
2.8.4