soc: mediatek: pwrap: Constify some data and other improvements
Status from this message: Applied to v6.11-next/soc, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 1 replyApplied
- v14 patches 3 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | soc: mediatek: pwrap: Constify struct pmic_wrapper_typedrivers/ | +3 | 0 replies | |
| 2/3 | soc: mediatek: pwrap: Constify some struct int[]drivers/ | +15 | 0 replies | |
| 3/3 | soc: mediatek: pwrap: Use devm_clk_bulk_get_all_enable()drivers/ | +12 | 0 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | AngeloGioacchino Del Regno |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] soc: mediatek: pwrap: Constify some data and other improvements
This series is motivated by patch 1. The 2 other patches are some additionnal goodies spotted while looking at the code.
Patch 1 constifies struct pmic_wrapper_type to move some data to a read-only section, in order to increase safety.
Patch 2 does the same for some int arrays. This helps move about 7 ko of data to a read-only section. Not that bad!
Patch 3 simplifies code related to clk management. It also fixes an issue if the driver is unloaded.
Christophe JAILLET (3):
soc: mediatek: pwrap: Constify struct pmic_wrapper_type
soc: mediatek: pwrap: Constify some struct int[]
soc: mediatek: pwrap: Use devm_clk_bulk_get_all_enable()
drivers/soc/mediatek/mtk-pmic-wrap.c | 118 +++++++-------------------- 1 file changed, 30 insertions(+), 88 deletions(-)
Signature · 1 line
2.45.2