Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
From: Javier Carrasco <javier.carrasco.cruz@gmail.com>
To: Support Opensource <support.opensource@diasemi.com>,
	 Lee Jones <lee@kernel.org>, Shawn Guo <shawnguo@kernel.org>,
	 Sascha Hauer <s.hauer@pengutronix.de>,
	 Pengutronix Kernel Team <kernel@pengutronix.de>,
	 Fabio Estevam <festevam@gmail.com>,
	 Matti Vaittinen <mazziesaccount@gmail.com>,
	Xu Yilun <yilun.xu@intel.com>,  Tom Rix <trix@redhat.com>,
	Marek Vasut <marek.vasut+renesas@gmail.com>,
	 Andy Shevchenko <andy@kernel.org>,
	Tony Lindgren <tony@atomide.com>,
	 Tim Harvey <tharvey@gateworks.com>,
	Orson Zhai <orsonzhai@gmail.com>,
	 Baolin Wang <baolin.wang@linux.alibaba.com>,
	 Chunyan Zhang <zhang.lyra@gmail.com>
Cc: linux-kernel@vger.kernel.org, imx@lists.linux.dev,
	 linux-arm-kernel@lists.infradead.org,
	linux-renesas-soc@vger.kernel.org,  linux-omap@vger.kernel.org,
	 Javier Carrasco <javier.carrasco.cruz@gmail.com>
Subject: [PATCH v2 00/24] mfd: Constify read-only regmap structs
Date: Thu, 04 Jul 2024 19:23:10 +0200	[thread overview]
Message-ID: <20240704-mfd-const-regmap_config-v2-0-0c8785b1331d@gmail.com> (raw)

This series adds the const modifier to the remaining regmap_bus,
regmap_config, regmap_irq and regmap_irq_chip structs within mfd
that are effectively used as const (i.e., only read after their
declaration), but kept as writtable data.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>

Changes in v2:
- Cover regmap_bus, regmap_irq and regmap_irq_chip too.
- Link to v1: https://lore.kernel.org/r/20240703-mfd-const-regmap_config-v1-0-aa6cd00a03bd@gmail.com

---
Javier Carrasco (24):
      mfd: da9062-core: Constify read-only regmap structs
      mfd: fsl-imx25-tsadc: Constify struct regmap_config
      mfd: hi655x-pmic: Constify struct regmap_config
      mfd: wcd934x: Constify struct regmap_config
      mfd: tps6105x: Constify struct regmap_config
      mfd: rohm-bd9576: Constify read-only regmap structs
      mfd: intel-m10-bmc: Constify struct regmap_config
      mfd: 88pm80x: Constify read-only regmap structs
      mfd: bd9571mwv: Constify struct regmap_irq_chip
      mfd: intel_soc_pmic_bxtwc: Constify struct regmap_irq_chip
      mfd: retu: Constify read-only regmap structs
      mfd: rk8xx-core: Constify struct regmap_irq_chip
      mfd: rohm-bd71828: Constify read-only regmap structs
      mfd: rohm-bd718x7: Constify struct regmap_irq_chip
      mfd: tps65086: Constify struct regmap_irq_chip
      mfd: tps65090: Constify struct regmap_irq_chip
      mfd: tps65218: Constify struct regmap_irq_chip
      mfd: tps65219: Constify read-only regmap structs
      mfd: tps65910: Constify struct regmap_irq_chip
      mfd: tps65912: Constify struct regmap_irq_chip
      mfd: twl6040: Constify struct regmap_irq_chip
      mfd: gateworks-gsc: Constify struct regmap_bus
      mfd: mc13xxx-spi: Constify struct regmap_bus
      mfd: sprd-sc27xx-spi: Constify struct regmap_bus

 drivers/mfd/88pm800.c              |  2 +-
 drivers/mfd/88pm805.c              |  4 ++--
 drivers/mfd/bd9571mwv.c            |  4 ++--
 drivers/mfd/da9062-core.c          | 12 ++++++------
 drivers/mfd/fsl-imx25-tsadc.c      |  2 +-
 drivers/mfd/gateworks-gsc.c        |  2 +-
 drivers/mfd/hi655x-pmic.c          |  2 +-
 drivers/mfd/intel-m10-bmc-pmci.c   |  2 +-
 drivers/mfd/intel-m10-bmc-spi.c    |  2 +-
 drivers/mfd/intel_soc_pmic_bxtwc.c | 14 +++++++-------
 drivers/mfd/mc13xxx-spi.c          |  2 +-
 drivers/mfd/retu-mfd.c             | 12 ++++++------
 drivers/mfd/rk8xx-core.c           |  6 +++---
 drivers/mfd/rohm-bd71828.c         |  8 ++++----
 drivers/mfd/rohm-bd718x7.c         |  2 +-
 drivers/mfd/rohm-bd9576.c          |  6 +++---
 drivers/mfd/sprd-sc27xx-spi.c      |  2 +-
 drivers/mfd/tps6105x.c             |  2 +-
 drivers/mfd/tps65086.c             |  2 +-
 drivers/mfd/tps65090.c             |  2 +-
 drivers/mfd/tps65218.c             |  2 +-
 drivers/mfd/tps65219.c             |  4 ++--
 drivers/mfd/tps65910.c             |  6 +++---
 drivers/mfd/tps65912-core.c        |  2 +-
 drivers/mfd/twl6040.c              |  2 +-
 drivers/mfd/wcd934x.c              |  2 +-
 include/linux/mfd/88pm80x.h        |  2 +-
 27 files changed, 55 insertions(+), 55 deletions(-)
---
base-commit: 0b58e108042b0ed28a71cd7edf5175999955b233
change-id: 20240703-mfd-const-regmap_config-96da5e18a85f

Best regards,
-- 
Javier Carrasco <javier.carrasco.cruz@gmail.com>


             reply	other threads:[~2024-07-04 17:23 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-04 17:23 Javier Carrasco [this message]
2024-07-04 17:23 ` [PATCH v2 01/24] mfd: da9062-core: Constify read-only regmap structs Javier Carrasco
2024-07-04 17:23 ` [PATCH v2 02/24] mfd: fsl-imx25-tsadc: Constify struct regmap_config Javier Carrasco
2024-07-04 17:23 ` [PATCH v2 03/24] mfd: hi655x-pmic: " Javier Carrasco
2024-07-04 17:23 ` [PATCH v2 04/24] mfd: wcd934x: " Javier Carrasco
2024-07-04 17:23 ` [PATCH v2 05/24] mfd: tps6105x: " Javier Carrasco
2024-07-04 17:23 ` [PATCH v2 06/24] mfd: rohm-bd9576: Constify read-only regmap structs Javier Carrasco
2024-07-05  4:54   ` Matti Vaittinen
2024-07-04 17:23 ` [PATCH v2 07/24] mfd: intel-m10-bmc: Constify struct regmap_config Javier Carrasco
2024-07-04 17:23 ` [PATCH v2 08/24] mfd: 88pm80x: Constify read-only regmap structs Javier Carrasco
2024-07-04 17:23 ` [PATCH v2 09/24] mfd: bd9571mwv: Constify struct regmap_irq_chip Javier Carrasco
2024-07-05  5:50   ` Matti Vaittinen
2024-07-04 17:23 ` [PATCH v2 10/24] mfd: intel_soc_pmic_bxtwc: " Javier Carrasco
2024-07-04 17:23 ` [PATCH v2 11/24] mfd: retu: Constify read-only regmap structs Javier Carrasco
2024-07-04 17:23 ` [PATCH v2 12/24] mfd: rk8xx-core: Constify struct regmap_irq_chip Javier Carrasco
2024-07-04 17:23 ` [PATCH v2 13/24] mfd: rohm-bd71828: Constify read-only regmap structs Javier Carrasco
2024-07-05  5:47   ` Matti Vaittinen
2024-07-04 17:23 ` [PATCH v2 14/24] mfd: rohm-bd718x7: Constify struct regmap_irq_chip Javier Carrasco
2024-07-05  5:48   ` Matti Vaittinen
2024-07-04 17:23 ` [PATCH v2 15/24] mfd: tps65086: " Javier Carrasco
2024-07-04 17:23 ` [PATCH v2 16/24] mfd: tps65090: " Javier Carrasco
2024-07-04 17:23 ` [PATCH v2 17/24] mfd: tps65218: " Javier Carrasco
2024-07-04 17:23 ` [PATCH v2 18/24] mfd: tps65219: Constify read-only regmap structs Javier Carrasco
2024-07-04 17:23 ` [PATCH v2 19/24] mfd: tps65910: Constify struct regmap_irq_chip Javier Carrasco
2024-07-04 17:23 ` [PATCH v2 20/24] mfd: tps65912: " Javier Carrasco
2024-07-04 17:23 ` [PATCH v2 21/24] mfd: twl6040: " Javier Carrasco
2024-07-04 17:23 ` [PATCH v2 22/24] mfd: gateworks-gsc: Constify struct regmap_bus Javier Carrasco
2024-07-04 17:23 ` [PATCH v2 23/24] mfd: mc13xxx-spi: " Javier Carrasco
2024-07-04 17:23 ` [PATCH v2 24/24] mfd: sprd-sc27xx-spi: " Javier Carrasco
2024-07-05  1:11   ` Baolin Wang
2024-07-25  7:38 ` [PATCH v2 00/24] mfd: Constify read-only regmap structs Lee Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240704-mfd-const-regmap_config-v2-0-0c8785b1331d@gmail.com \
    --to=javier.carrasco.cruz@gmail.com \
    --cc=andy@kernel.org \
    --cc=baolin.wang@linux.alibaba.com \
    --cc=festevam@gmail.com \
    --cc=imx@lists.linux.dev \
    --cc=kernel@pengutronix.de \
    --cc=lee@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=marek.vasut+renesas@gmail.com \
    --cc=mazziesaccount@gmail.com \
    --cc=orsonzhai@gmail.com \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    --cc=support.opensource@diasemi.com \
    --cc=tharvey@gateworks.com \
    --cc=tony@atomide.com \
    --cc=trix@redhat.com \
    --cc=yilun.xu@intel.com \
    --cc=zhang.lyra@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox