Skip to content

gpio: Use string_choices.h

Andy Shevchenko linux-arm-kernel linux-gpio linux-pwm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16lib/string_helpers: Add missing header files to MAINTAINERS databaseMAINTAINERS+2 -00 replies
2/16lib/string_helpers: Split out string_choices.hMAINTAINERS include/linux/string_choices.h include/linux/string_helpers.h+34 -250 replies
3/16lib/string_choices: Add str_high_low() helperinclude/linux/string_choices.h+12 -00 replies
4/16lib/string_choices: Add str_input_output() helperinclude/linux/string_choices.h+12 -00 replies
5/16gpiolib: Utilize helpers from string_choices.hdrivers/gpio/gpiolib-sysfs.c drivers/gpio/gpiolib.c+8 -80 replies
6/16gpio: adnp: Utilize helpers from string_choices.hdrivers/gpio/gpio-adnp.c+6 -180 replies
7/16gpio: brcmstb: Utilize helpers from string_choices.hdrivers/gpio/gpio-brcmstb.c+2 -11 reply
8/16gpio: crystalcove: Utilize helpers from string_choices.hdrivers/gpio/gpio-crystalcove.c+9 -80 replies
9/16gpio: grgpio: Utilize helpers from string_choices.hdrivers/gpio/gpio-grgpio.c+2 -10 replies
10/16gpio: mvebu: Utilize helpers from string_choices.hdrivers/gpio/gpio-mvebu.c+12 -150 replies
11/16gpio: pl061: Utilize helpers from string_choices.hdrivers/gpio/gpio-pl061.c+2 -20 replies
12/16gpio: stmpe: Utilize helpers from string_choices.hdrivers/gpio/gpio-stmpe.c+8 -110 replies
13/16gpio: wcove: Utilize helpers from string_choices.hdrivers/gpio/gpio-wcove.c+8 -71 reply
14/16gpio: wm831x: Utilize helpers from string_choices.hdrivers/gpio/gpio-wm831x.c+3 -21 reply
15/16gpio: wm8994: Utilize helpers from string_choices.hdrivers/gpio/gpio-wm8994.c+2 -41 reply
16/16gpio: xra1403: Utilize helpers from string_choices.hdrivers/gpio/gpio-xra1403.c+3 -20 replies

Reviews trailers per patch

4 of 16 patches have a Reviewed-by or Acked-by.

PatchFlorian FainelliKuppuswamy SathyanarayananCharles Keepax
1/16
2/16
3/16
4/16
5/16
6/16
7/16R-b
8/16
9/16
10/16
11/16
12/16
13/16A-b
14/16A-b
15/16A-b
16/16

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH v1 00/16] gpio: Use string_choices.h

Use string_choices.h in the GPIO drivers and library. It has been tested on x86_64 and (semi-)compile tested over all.

Andy Shevchenko (16):
lib/string_helpers: Add missing header files to MAINTAINERS database lib/string_helpers: Split out string_choices.h lib/string_choices: Add str_high_low() helper lib/string_choices: Add str_input_output() helper
gpiolib: Utilize helpers from string_choices.h
gpio: adnp: Utilize helpers from string_choices.h
gpio: brcmstb: Utilize helpers from string_choices.h
gpio: crystalcove: Utilize helpers from string_choices.h
gpio: grgpio: Utilize helpers from string_choices.h
gpio: mvebu: Utilize helpers from string_choices.h
gpio: pl061: Utilize helpers from string_choices.h
gpio: stmpe: Utilize helpers from string_choices.h
gpio: wcove: Utilize helpers from string_choices.h
gpio: wm831x: Utilize helpers from string_choices.h
gpio: wm8994: Utilize helpers from string_choices.h
gpio: xra1403: Utilize helpers from string_choices.h

 MAINTAINERS                     |  3 ++
 drivers/gpio/gpio-adnp.c        | 24 ++++----------
 drivers/gpio/gpio-brcmstb.c     |  3 +-
 drivers/gpio/gpio-crystalcove.c | 17 +++++-----
 drivers/gpio/gpio-grgpio.c      |  3 +-
 drivers/gpio/gpio-mvebu.c       | 27 +++++++---------
 drivers/gpio/gpio-pl061.c       |  4 +--
 drivers/gpio/gpio-stmpe.c       | 19 +++++------
 drivers/gpio/gpio-wcove.c       | 15 ++++-----
 drivers/gpio/gpio-wm831x.c      |  5 +--
 drivers/gpio/gpio-wm8994.c      |  6 ++--
 drivers/gpio/gpio-xra1403.c     |  5 +--
 drivers/gpio/gpiolib-sysfs.c    |  3 +-
 drivers/gpio/gpiolib.c          | 13 ++++----
 include/linux/string_choices.h  | 56 +++++++++++++++++++++++++++++++++
 include/linux/string_helpers.h  | 26 +--------------
 16 files changed, 125 insertions(+), 104 deletions(-)
 create mode 100644 include/linux/string_choices.h
Signature · 1 line
2.39.1