use process_directory() to read dir
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 of 8 patches 1 replyIn review
7 of 8 patches are in this archive. The cover letter announces 8.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 2/8 | alsa: use process_directory()src/ src/ | +19 | 0 replies | |
| 3/8 | calibrate: use process_directory()src/ | +48 | 0 replies | |
| 4/8 | network: use updated process_directory()src/ | +4 | 0 replies | |
| 5/8 | rfkill: use process_directory()src/ | +17 | 0 replies | |
| 6/8 | usb: use process_directory()src/ | +31 | 0 replies | |
| 7/8 | tuning ethernet: use updated process_directory()src/ | +5 | 0 replies | |
| 8/8 | tuningusb: use process_directory()src/ | +14 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Powertop] [PATCH 0/8] use process_directory() to read dir
Hello,
This patch series removes some code duplication in trivial cases and replaces explicit opendir()/readdir() handling with existing common lib process_directory() helper.
src/calibrate/calibrate.cpp | 151 ++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------------------------------- src/devices/alsa.cpp | 46 +++++++++++++++++----------------------------- src/devices/alsa.h | 4 ++-- src/devices/network.cpp | 8 ++++---- src/devices/rfkill.cpp | 46 +++++++++++++++++----------------------------- src/devices/usb.cpp | 79 +++++++++++++++++++++++++++++++------------------------------------------------ src/lib.cpp | 4 ---- src/tuning/ethernet.cpp | 10 +++++----- src/tuning/tuningusb.cpp | 46 ++++++++++++++--------------------------------
9 files changed, 138 insertions(+), 256 deletions(-)