gpiolib: cdev: pre-uAPI v2 cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest17 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | gpiolib: move gpiolib-sysfs function declarations into their own headerdrivers/ drivers/ drivers/ +1 more | +26 | 0 replies | |
| 2/17 | gpiolib: cdev: sort includesdrivers/ | +11 | 0 replies | |
| 3/17 | gpiolib: cdev: minor indentation fixesdrivers/ | +14 | 0 replies | |
| 4/17 | gpiolib: cdev: refactor gpiohandle_flags_to_desc_flagsdrivers/ | +19 | 0 replies | |
| 5/17 | gpiolib: cdev: rename 'filep' and 'filp' to 'file' to be consistent with other usedrivers/ | +35 | 0 replies | |
| 6/17 | gpiolib: cdev: rename numdescs to num_descsdrivers/ | +10 | 0 replies | |
| 7/17 | gpiolib: cdev: remove pointless decrement of idrivers/ | +0 | 0 replies | |
| 8/17 | gpiolib: cdev: use blocking notifier call chain instead of atomicdrivers/ drivers/ drivers/ | +20 | 1 reply | |
| 9/17 | gpiolib: cdev: rename priv to cdevdrivers/ | +45 | 0 replies | |
| 10/17 | gpiolib: cdev: fix minor race in GET_LINEINFO_WATCHdrivers/ | +5 | 0 replies | |
| 11/17 | gpiolib: cdev: remove recalculation of offsetdrivers/ | +7 | 0 replies | |
| 12/17 | gpiolib: cdev: refactor linehandle cleanup into linehandle_freedrivers/ | +19 | 0 replies | |
| 13/17 | gpiolib: cdev: refactor lineevent cleanup into lineevent_freedrivers/ | +21 | 0 replies | |
| 14/17 | gpio: uapi: fix misplaced comment lineinclude/ | +1 | 0 replies | |
| 15/17 | tools: gpio: fix spurious close warning in lsgpiotools/ | +2 | 0 replies | |
| 16/17 | tools: gpio: fix spurious close warning in gpio-utilstools/ | +2 | 0 replies | |
| 17/17 | tools: gpio: fix spurious close warning in gpio-event-montools/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/17] gpiolib: cdev: pre-uAPI v2 cleanups
This collection of patches provides improvements to or address minor problems in gpiolib-cdev.
The majority of the patches (1-7, 9-11) have been pulled directly from my "gpio: cdev: add uAPI V2" patch set, as they are not related to any uAPI changes.
The remaining patches were either split out of the remaining patches from that set, as they are not directly part of the uAPI changes, or were inspired by fixes for issues in that set, or were only noticed subsequent to that set.
Changes since "gpio: cdev: add uAPI V2":
- rebase onto latest gpio/devel
- fix typo in patch 1 commit description
- replace patch 8 with the blocking notifier call chain patch
- rename priv to cdev instead of gcdev in patch 9
- fix error handling in patch 10
- add patches 12 to 17
Kent Gibson (17):
gpiolib: move gpiolib-sysfs function declarations into their own
header
gpiolib: cdev: sort includes
gpiolib: cdev: minor indentation fixes
gpiolib: cdev: refactor gpiohandle_flags_to_desc_flags
gpiolib: cdev: rename 'filep' and 'filp' to 'file' to be consistent
with other use
gpiolib: cdev: rename numdescs to num_descs
gpiolib: cdev: remove pointless decrement of i
gpiolib: cdev: use blocking notifier call chain instead of atomic
gpiolib: cdev: rename priv to cdev
gpiolib: cdev: fix minor race in GET_LINEINFO_WATCH
gpiolib: cdev: remove recalculation of offset
gpiolib: cdev: refactor linehandle cleanup into linehandle_free
gpiolib: cdev: refactor lineevent cleanup into lineevent_free
gpio: uapi: fix misplaced comment line
tools: gpio: fix spurious close warning in lsgpio
tools: gpio: fix spurious close warning in gpio-utils
tools: gpio: fix spurious close warning in gpio-event-mon
drivers/gpio/gpiolib-cdev.c | 385 ++++++++++++++++------------------- drivers/gpio/gpiolib-sysfs.c | 1 + drivers/gpio/gpiolib-sysfs.h | 24 +++ drivers/gpio/gpiolib.c | 15 +- drivers/gpio/gpiolib.h | 20 +- include/uapi/linux/gpio.h | 2 +- tools/gpio/gpio-event-mon.c | 3 +- tools/gpio/gpio-utils.c | 4 +- tools/gpio/lsgpio.c | 3 +- 9 files changed, 217 insertions(+), 240 deletions(-) create mode 100644 drivers/gpio/gpiolib-sysfs.h
base-commit: b239e4454e59bc85d466eb5630da46f6a876df77
Signature · 1 line
2.27.0