regcache: Split out ->populate() and use it
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest5 patches 7 repliesIn review
- v25 patches 6 repliesSuperseded
- v14 patches 2 repliesSuperseded
Changes in v3 from the cover letter
- added missing space (Mark)
- collected tags (Sander)
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | regcache: Add ->populate() callback to separate from ->init()drivers/ drivers/ | +17 | 2 replies | |
| 2/5 | regcache: rbtree: Split ->populate() from ->init()drivers/ | +17 | 1 reply | |
| 3/5 | regcache: flat: Remove unneeded check and error message for -ENOMEMdrivers/ | +1 | 1 reply | |
| 4/5 | regcache: flat: Split ->populate() from ->init()drivers/ | +18 | 1 reply | |
| 5/5 | regcache: maple: Split ->populate() from ->init()drivers/ | +21 | 1 reply |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Sander Vanheule | Charles Keepax |
|---|---|---|
| 1/5 | R-b | |
| 2/5 | R-b | |
| 3/5 | A-b | R-b |
| 4/5 | R-b | |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/5] regcache: Split out ->populate() and use it
This is a refactoring series to decouple cache initialisation and population. On its own it has no functional impact but will be used in the further development. Besides that I found this split useful on its own (from the design perspective). That's why I decided to send it out as is separately from a bigger (and ongoing) work.
Changelog v3:
- added missing space (Mark)
- collected tags (Sander)
Changelog v2:
v2: https://lore.kernel.org/r/[email protected]
- rebased on top of the recent regcache changes (Mark)
- a new clean up patch induced by the previous
v1: https://lore.kernel.org/r/[email protected]
Andy Shevchenko (5):
regcache: Add ->populate() callback to separate from ->init()
regcache: rbtree: Split ->populate() from ->init()
regcache: flat: Remove unneeded check and error message for -ENOMEM
regcache: flat: Split ->populate() from ->init()
regcache: maple: Split ->populate() from ->init()
drivers/base/regmap/internal.h | 1 + drivers/base/regmap/regcache-flat.c | 37 +++++++++++---------- drivers/base/regmap/regcache-maple.c | 47 ++++++++++++--------------- drivers/base/regmap/regcache-rbtree.c | 31 ++++++++++-------- drivers/base/regmap/regcache.c | 16 +++++++++ 5 files changed, 74 insertions(+), 58 deletions(-)
Signature · 1 line
2.50.1