Skip to content

gpio: 74x164: Refactor and clean up the driver

Andy Shevchenko linux-gpio linux-hardening lkml 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 4 repliesApplied
  2. v17 patches 8 repliesSuperseded

Changes in v2 from the cover letter

- remove ->remove() leftover (Bart)
- collected tags (Geert, Gustavo)

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/7gpio: 74x164: Remove unneeded dependency to OF_GPIOdrivers/gpio/Kconfig+0 -10 replies
2/7gpio: 74x164: Simplify code with cleanup helpersdrivers/gpio/gpio-74x164.c+7 -90 replies
3/7gpio: 74x164: Annotate buffer with __counted_by()drivers/gpio/gpio-74x164.c+5 -50 replies
4/7gpio: 74x164: Make use of the macros from bits.hdrivers/gpio/gpio-74x164.c+3 -30 replies
5/7gpio: 74x164: Fully convert to use managed resourcesdrivers/gpio/gpio-74x164.c+16 -110 replies
6/7gpio: 74x164: Switch to use dev_err_probe()drivers/gpio/gpio-74x164.c+2 -40 replies
7/7gpio: 74x164: Utilise temporary variable for struct devicedrivers/gpio/gpio-74x164.c+3 -43 replies

Reviews trailers per patch

2 of 7 patches have a Reviewed-by or Acked-by.

PatchGustavo A. R. SilvaGeert Uytterhoeven
1/7R-b
2/7
3/7R-b
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/7] gpio: 74x164: Refactor and clean up the driver

Seems like I have had a cleanup series for 74x164, but forgot to send it last year, here it is.

Changelog v2:
- remove ->remove() leftover (Bart)
- collected tags (Geert, Gustavo)

Andy Shevchenko (7):
gpio: 74x164: Remove unneeded dependency to OF_GPIO
gpio: 74x164: Simplify code with cleanup helpers
gpio: 74x164: Annotate buffer with __counted_by()
gpio: 74x164: Make use of the macros from bits.h
gpio: 74x164: Fully convert to use managed resources
gpio: 74x164: Switch to use dev_err_probe()
gpio: 74x164: Utilise temporary variable for struct device

 drivers/gpio/Kconfig       |  1 -
 drivers/gpio/gpio-74x164.c | 70 +++++++++++++++++++-------------------
 2 files changed, 35 insertions(+), 36 deletions(-)
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac