xhci: dbc: Update driver to use modern APIs
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest10 patches 2 repliesIn review
- v110 patches 4 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | xhci: dbc: Drop duplicate checks for dma_free_coherent()drivers/ | +5 | 0 replies | |
| 2/10 | xhci: dbc: Convert to use sysfs_streq()drivers/ | +2 | 0 replies | |
| 3/10 | xhci: dbc: Use sysfs_emit() to instead of scnprintf()drivers/ drivers/ | +17 | 0 replies | |
| 4/10 | xhci: dbc: Use ATTRIBUTE_GROUPS()drivers/ | +4 | 0 replies | |
| 5/10 | xhci: dbc: Check for errors first in xhci_dbc_stop()drivers/ | +4 | 2 replies | |
| 6/10 | xhci: dbc: Don't shadow error codes in store() functionsdrivers/ | +18 | 0 replies | |
| 7/10 | xhci: dbc: Replace custom return value with proper Linux error codedrivers/ | +1 | 0 replies | |
| 8/10 | xhci: dbc: Use sizeof_field() where it makes sensedrivers/ | +1 | 0 replies | |
| 9/10 | xhci: dbc: Use sizeof(*pointer) instead of sizeof(type)drivers/ | +3 | 0 replies | |
| 10/10 | xhci: dbc: Add missing headersdrivers/ | +16 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 00/10] xhci: dbc: Update driver to use modern APIs
Update driver to use some of modern APIs. It's not a full clean up series, just a set of ad-hoc changes.
In v2:
- fixed mistakes pointed by Mathias and LKP
- sent with a cover letter
Andy Shevchenko (10):
xhci: dbc: Drop duplicate checks for dma_free_coherent()
xhci: dbc: Convert to use sysfs_streq()
xhci: dbc: Use sysfs_emit() to instead of scnprintf()
xhci: dbc: Use ATTRIBUTE_GROUPS()
xhci: dbc: Check for errors first in xhci_dbc_stop()
xhci: dbc: Don't shadow error codes in store() functions
xhci: dbc: Replace custom return value with proper Linux error code
xhci: dbc: Use sizeof_field() where it makes sense
xhci: dbc: Use sizeof(*pointer) instead of sizeof(type)
xhci: dbc: Add missing headers
drivers/usb/host/xhci-dbgcap.c | 132 +++++++++++++++++---------------- drivers/usb/host/xhci-dbgcap.h | 1 + 2 files changed, 70 insertions(+), 63 deletions(-)
Signature · 1 line
2.40.0.1.gaa8946217a0b