mbox series

[00/17] regulator: Few constifications of static data

Message ID 20240909-regulator-const-v1-0-8934704a5787@linaro.org (mailing list archive)
Headers show
Series regulator: Few constifications of static data | expand

Message

Krzysztof Kozlowski Sept. 9, 2024, 1:51 p.m. UTC
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,

Comments

Mark Brown Sept. 11, 2024, 11:16 a.m. UTC | #1
On Mon, 09 Sep 2024 15:51:11 +0200, Krzysztof Kozlowski wrote:
> Few cleanups (safer code), built tested.  Last two patches should
> probably be tested.
> 
> Best regards,
> Krzysztof
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next

Thanks!

[01/17] regulator: da9052: Constify static data
        commit: 9653007e7d878609be205ced4803ca57be341845
[02/17] regulator: da9055: Constify static data
        commit: dfa9e708c63e7833c61f551069d3ff4b03af7895
[03/17] regulator: da9063: Constify static data
        commit: 0601c1e5c4a1162c909675233645889237b003a2
[04/17] regulator: da9121: Constify static data
        commit: b3f1e8e32ef579907fe0c0c9c102bb13883454d6
[05/17] regulator: da9211: Constify static data
        (no commit info)
[06/17] regulator: hi6421: Constify static data
        commit: b94afa51cad448d7d9bcb600ce267153132369ad
[07/17] regulator: hi6421v600: Constify static data
        commit: 5ec424afc95ab2490ae28b3e7756e6e9b271a5f0
[08/17] regulator: tps65023: Constify static data
        commit: 7fb636dc26d6fc532fbc96fc74847afedc128154
[09/17] regulator: max77826: Drop unused 'rdesc' in 'struct max77826_regulator_info'
        commit: 653976707d03f9c8e07f1c7733f27c89a1d5eb1c
[10/17] regulator: max77826: Constify static data
        commit: 96d7ee7cb01203ae0b6078631738754424d89cf8
[11/17] regulator: mtk-dvfsrc: Constify static data
        commit: 90b94a05b6cd54b6ae65d09df86d7b602a228ae1
[12/17] regulator: pcap: Constify static data
        commit: 7f1bfca46b1524a774d03eccd8042935c453843a
[13/17] regulator: pfuze100: Constify static data
        commit: 6f4fd2b8a5c08656d293ed491335747ff3d34104
[14/17] regulator: qcom-refgen: Constify static data
        commit: 7eb5d065ec6725d7da9a4f7ba71b6ff4aaf7eb42
[15/17] regulator: hi6421v530: Drop unused 'eco_microamp'
        commit: e9c7ff34c26d009c2f7c3d51236ed5a808dbc0d7
[16/17] regulator: hi6421v530: Use container_of and constify static data
        commit: 7dd36b3287182bc889953f7741bdcef037109210
[17/17] regulator: max77650: Use container_of and constify static data
        commit: c4d6a804713ac080841d1711a98ae1a6ecaede38

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark