gpiolib: Some cleanups
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest8 patches 1 replyApplied
- v17 patches 9 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | gpiolib: Make taking gpio_lookup_lock consistentdrivers/ | +2 | 0 replies | |
| 2/8 | gpiolib: Convert to use guard()() for gpio_machine_hogs_mutexdrivers/ | +4 | 0 replies | |
| 3/8 | gpiolib: Print actual error when descriptor contains an error pointerdrivers/ | +1 | 0 replies | |
| 4/8 | gpiolib: Revert "Don't WARN on gpiod_put() for optional GPIO"drivers/ | +1 | 0 replies | |
| 5/8 | gpiolib: Move validate_desc() and Co upper in the codedrivers/ | +31 | 0 replies | |
| 6/8 | gpiolib: Call validate_desc() when VALIDATE_DESC() can't be useddrivers/ | +5 | 0 replies | |
| 7/8 | gpiolib: Reuse return variable in gpiod_to_irq()drivers/ | +4 | 0 replies | |
| 8/8 | gpiolib: Remove redundant assignment of return variabledrivers/ | +6 | 0 replies |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by.
| Patch | Linus Walleij |
|---|---|
| 1/8 | R-b |
| 2/8 | R-b |
| 3/8 | R-b |
| 4/8 | R-b |
| 5/8 | R-b |
| 6/8 | R-b |
| 7/8 | R-b |
| 8/8 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/8] gpiolib: Some cleanups
Just a three groups of cleanups (some of them may be dependent to the previous ones compile and logically wise, but I am only aware about couple of patches, i.e. 3 & 4).
In v2:
- split one patch to two (Linus)
- added tags (Linus)
Andy Shevchenko (8):
gpiolib: Make taking gpio_lookup_lock consistent
gpiolib: Convert to use guard()() for gpio_machine_hogs_mutex
gpiolib: Print actual error when descriptor contains an error pointer
gpiolib: Revert "Don't WARN on gpiod_put() for optional GPIO"
gpiolib: Move validate_desc() and Co upper in the code
gpiolib: Call validate_desc() when VALIDATE_DESC() can't be used
gpiolib: Reuse return variable in gpiod_to_irq()
gpiolib: Remove redundant assignment of return variable
drivers/gpio/gpiolib.c | 123 ++++++++++++++++++----------------------- 1 file changed, 53 insertions(+), 70 deletions(-)
Signature · 1 line
2.47.2