Skip to content

gpio: First attempt to clean up headers

Andy Shevchenko linux-arch linux-gpio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5gpiolib: fix linker errors when GPIOLIB is disabledinclude/linux/gpio/driver.h+21 -211 replies
2/5gpio: Drop unused forward declaration from driver.hinclude/linux/gpio/driver.h+0 -10 replies
3/5gpio: Deduplicate forward declarations in consumer.hinclude/linux/gpio/consumer.h+1 -60 replies
4/5gpio: Group forward declarations in consumer.hinclude/linux/gpio/consumer.h+1 -20 replies
5/5gpio: Clean up headersinclude/asm-generic/gpio.h include/linux/gpio.h include/linux/gpio/consumer.h +1 more+37 -286 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH v1 0/5] gpio: First attempt to clean up headers

Header inclusions in the _headers_ of GPIO library is semi-random or outdated. Here is an attempt to fix the mess.

This is based on latest Linux Next with Pierluigi's patch which I consider a good quick fix to the issue that can't be easily solved.

Patches 2-4 from me are pretty much straightforward, and are not expected to fail (so may be applied as soon as test is done). However the last one is to detect any other hellness of the mess.

Andy Shevchenko (4):
gpio: Drop unused forward declaration from driver.h
gpio: Deduplicate forward declarations in consumer.h
gpio: Group forward declarations in consumer.h
gpio: Clean up headers

Pierluigi Passaro (1):
gpiolib: fix linker errors when GPIOLIB is disabled

 include/asm-generic/gpio.h    |  8 -----
 include/linux/gpio.h          |  9 ++----
 include/linux/gpio/consumer.h | 24 +++++++--------
 include/linux/gpio/driver.h   | 56 +++++++++++++++++++++++++++--------
 4 files changed, 59 insertions(+), 38 deletions(-)

base-commit: 9fbee811e479aca2f3523787cae1f46553141b40

Signature · 1 line
2.39.0