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(-) -- 2.45.2