Skip to content

gpio: delete MODULE_ tags in non-modular drivers

Paul Gortmaker linux-gpio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4gpio: msic: drop unused MODULE_ tags from non-modular codedrivers/gpio/gpio-msic.c+0 -61 reply
2/4gpio: mxc: drop unused MODULE_ tags from non-modular codedrivers/gpio/gpio-mxc.c+2 -81 reply
3/4gpio: spear-spics: drop unused MODULE_ tags from non-modular codedrivers/gpio/gpio-spear-spics.c+1 -62 replies
4/4gpio: vf610: drop unused MODULE_ tags from non-modular codedrivers/gpio/gpio-vf610.c+1 -61 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/4] gpio: delete MODULE_ tags in non-modular drivers

A nice simple series, with zero runtime changes. We delete tags like MODULE_LICENSE, MODULE_AUTHOR (while ensuring the documentation at the top of file reflects author and license) etc from bool drivers where the tags are no-ops.

Then we are free to delete the module.h include, which we now know adds about 750kB of output to an otherwise headerless empty file processed by cpp. In addition, it will be clear that the driver is non-modular now, when inspecting the source code.

---

Cc Alexandre Courbot <[email protected]>
Cc Daniel Mack <[email protected]>
Cc Juergen Beisert <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Mathias Nyman <[email protected]>
Cc Shiraz Hashim <[email protected]>
Cc Stefan Agner <[email protected]>

Paul Gortmaker (4):
gpio: msic: drop unused MODULE_ tags from non-modular code
gpio: mxc: drop unused MODULE_ tags from non-modular code
gpio: spear-spics: drop unused MODULE_ tags from non-modular code
gpio: vf610: drop unused MODULE_ tags from non-modular code

 drivers/gpio/gpio-msic.c        |  6 ------
 drivers/gpio/gpio-mxc.c         | 10 ++--------
 drivers/gpio/gpio-spear-spics.c |  7 +------
 drivers/gpio/gpio-vf610.c       |  7 +------
 4 files changed, 4 insertions(+), 26 deletions(-)
Signature · 1 line
2.8.4