can: m_can: various regmask-related cleanup
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 1 replyIn review
- v14 patches 4 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | can: m_can: use bits.h macros for all regmasksdrivers/ | +86 | 0 replies | |
| 2/4 | can: m_can: clean up CCCR reg defs, order by revsdrivers/ | +13 | 0 replies | |
| 3/4 | can: m_can: make TXESC, RXESC config more explicitdrivers/ | +12 | 0 replies | |
| 4/4 | can: m_can: fix whitespace in a few commentsdrivers/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/4] can: m_can: various regmask-related cleanup
Hi all!
1/4 modernises m_can.c, using GENMASK for all regmasks and FIELD_{GET,PREP,MAX} for ops. Maintainable, consistent and concise.
2/4 makes clear all the differences in CCCR between M_CAN spec revisions,
and orders the defs by revision, ascending.
3/4 makes explicit the config of RX & TX buffer sizes, making it a bit more readable, especially against the spec.
4/4 fixes whitespace in a few comments.
Cheers!
Torin
maxiluxsystems.com
---
v2: patches now correctly based on can-next/testing