summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/regulator
diff options
context:
space:
mode:
authorKonrad Dybcio <konrad.dybcio@linaro.org>2024-01-09 13:04:49 +0300
committerMark Brown <broonie@kernel.org>2024-01-22 03:06:46 +0300
commit5df3b41bd6b5432010d6d85e5aa7217bd8f6b0cb (patch)
tree925e16d05c84d7294d829318716b6e5bcf2a472a /Documentation/devicetree/bindings/regulator
parent6613476e225e090cc9aad49be7fa504e290dd33d (diff)
downloadlinux-5df3b41bd6b5432010d6d85e5aa7217bd8f6b0cb.tar.xz
regulator: qcom_smd: Keep one rpm handle for all vregs
For no apparent reason (as there's just one RPM per SoC), all vregs currently store a copy of a pointer to smd_rpm. Introduce a single, global one to save up on space in each definition. bloat-o-meter reports a slight uptick: Total: Before=44008, After=44080, chg +0.16% However the saved n * sizeof(ptr) for every dynamically allocated regulator quickly makes up for it. Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://msgid.link/r/20240109-rpm_vreg_cleanup-v3-1-fa0201029f78@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/regulator')
0 files changed, 0 insertions, 0 deletions