gpio: remove gpiod_toggle_active_low()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | gpiolib: provide gpiod_set_active_[low/high]()drivers/ include/ | +36 | 0 replies | |
| 2/5 | mtd: rawnand: ingenic: use gpiod_set_active_high()drivers/ | +2 | 10 replies | |
| 3/5 | mmc: slot-gpio: use gpiod_set_active_[low|high]()drivers/ | +5 | 4 replies | |
| 4/5 | platform/x86: int3472/discrete: use gpiod_set_active_low()drivers/ drivers/ | +2 | 1 reply | |
| 5/5 | gpiolib: remove gpiod_toggle_active_low()drivers/ include/ | +0 | 0 replies |
Reviews trailers per patch
2 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Paul Cercueil | Hans de Goede | Miquel Raynal |
|---|---|---|---|
| 1/5 | |||
| 2/5 | A-b | A-b | |
| 3/5 | |||
| 4/5 | A-b | ||
| 5/5 |
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.
Cover letter [PATCH 0/5] gpio: remove gpiod_toggle_active_low()
From: Bartosz Golaszewski <[email protected]>
The semantics of gpiod_toggle_active_low() are just bad and in almost all cases require users to check the current state anyway. Let's replace it with something clearer and more useful.
For getting this upstream: I'm thinking that I should apply patch 1/5, provide other subsystems with an immutable tag and then we can apply patch 5/5 for the next release once first four are in master.
Bartosz Golaszewski (5):
gpiolib: provide gpiod_set_active_[low/high]()
mtd: rawnand: ingenic: use gpiod_set_active_high()
mmc: slot-gpio: use gpiod_set_active_[low|high]() platform/x86: int3472/discrete: use gpiod_set_active_low()
gpiolib: remove gpiod_toggle_active_low()
drivers/gpio/gpiolib.c | 21 ++++++++++++++----- drivers/mmc/core/slot-gpio.c | 11 +++++----- .../mtd/nand/raw/ingenic/ingenic_nand_drv.c | 5 ++--- .../x86/intel/int3472/clk_and_regulator.c | 2 +- drivers/platform/x86/intel/int3472/led.c | 2 +- include/linux/gpio/consumer.h | 11 ++++++++-- 6 files changed, 34 insertions(+), 18 deletions(-)
Signature · 1 line
2.39.2