Hi, Few cleanups (safer code), built tested. Last two patches should probably be tested. Best regards, Krzysztof --- Krzysztof Kozlowski (17): regulator: da9052: Constify static data regulator: da9055: Constify static data regulator: da9063: Constify static data regulator: da9121: Constify static data regulator: da9211: Constify static data regulator: hi6421: Constify static data regulator: hi6421v600: Constify static data regulator: tps65023: Constify static data regulator: max77826: Drop unused 'rdesc' in 'struct max77826_regulator_info' regulator: max77826: Constify static data regulator: mtk-dvfsrc: Constify static data regulator: pcap: Constify static data regulator: pfuze100: Constify static data regulator: qcom-refgen: Constify static data regulator: hi6421v530: Drop unused 'eco_microamp' regulator: hi6421v530: Use container_of and constify static data regulator: max77650: Use container_of and constify static data drivers/regulator/da9052-regulator.c | 22 +++++++++++----------- drivers/regulator/da9055-regulator.c | 28 ++++++++++++++-------------- drivers/regulator/da9063-regulator.c | 2 +- drivers/regulator/da9121-regulator.c | 20 ++++++++++---------- drivers/regulator/da9211-regulator.c | 2 +- drivers/regulator/hi6421-regulator.c | 14 +++++++------- drivers/regulator/hi6421v530-regulator.c | 27 +++++++++++---------------- drivers/regulator/hi6421v600-regulator.c | 10 +++++----- drivers/regulator/max77650-regulator.c | 31 ++++++++++++++----------------- drivers/regulator/max77826-regulator.c | 4 +--- drivers/regulator/mtk-dvfsrc-regulator.c | 10 +++++----- drivers/regulator/pcap-regulator.c | 12 ++++++------ drivers/regulator/pfuze100-regulator.c | 10 +++++----- drivers/regulator/qcom-refgen-regulator.c | 4 ++-- drivers/regulator/tps65023-regulator.c | 6 +++--- 15 files changed, 96 insertions(+), 106 deletions(-) --- base-commit: fd9058d56c6de25c2d3215db4e2e950a7965ffd2 change-id: 20240909-regulator-const-b70dc22450b0 Best regards, -- Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>