[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240704-mfd-const-regmap_config-v2-0-0c8785b1331d@gmail.com>
Date: Thu, 04 Jul 2024 19:23:10 +0200
From: Javier Carrasco <javier.carrasco.cruz@...il.com>
To: Support Opensource <support.opensource@...semi.com>,
Lee Jones <lee@...nel.org>, Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
Matti Vaittinen <mazziesaccount@...il.com>, Xu Yilun <yilun.xu@...el.com>,
Tom Rix <trix@...hat.com>, Marek Vasut <marek.vasut+renesas@...il.com>,
Andy Shevchenko <andy@...nel.org>, Tony Lindgren <tony@...mide.com>,
Tim Harvey <tharvey@...eworks.com>, Orson Zhai <orsonzhai@...il.com>,
Baolin Wang <baolin.wang@...ux.alibaba.com>,
Chunyan Zhang <zhang.lyra@...il.com>
Cc: linux-kernel@...r.kernel.org, imx@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org, linux-renesas-soc@...r.kernel.org,
linux-omap@...r.kernel.org,
Javier Carrasco <javier.carrasco.cruz@...il.com>
Subject: [PATCH v2 00/24] mfd: Constify read-only regmap structs
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@...il.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@...il.com>
Powered by blists - more mailing lists