public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 01/14] mfd: 88pm860x-core: Constify struct regmap_config
@ 2015-01-05  9:01 Krzysztof Kozlowski
  2015-01-05  9:01 ` [PATCH 02/14] mfd: hi6421-pmic: " Krzysztof Kozlowski
                   ` (13 more replies)
  0 siblings, 14 replies; 31+ messages in thread
From: Krzysztof Kozlowski @ 2015-01-05  9:01 UTC (permalink / raw)
  To: Samuel Ortiz, Lee Jones, linux-kernel; +Cc: Krzysztof Kozlowski

The regmap_config struct may be const because it is not modified by the
driver and regmap_init() accepts pointer to const.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
 drivers/mfd/88pm860x-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/88pm860x-core.c b/drivers/mfd/88pm860x-core.c
index 3a2604580164..d2a85cde68da 100644
--- a/drivers/mfd/88pm860x-core.c
+++ b/drivers/mfd/88pm860x-core.c
@@ -1111,7 +1111,7 @@ static int verify_addr(struct i2c_client *i2c)
 	return 0;
 }
 
-static struct regmap_config pm860x_regmap_config = {
+static const struct regmap_config pm860x_regmap_config = {
 	.reg_bits = 8,
 	.val_bits = 8,
 };
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2015-01-20 12:00 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-05  9:01 [PATCH 01/14] mfd: 88pm860x-core: Constify struct regmap_config Krzysztof Kozlowski
2015-01-05  9:01 ` [PATCH 02/14] mfd: hi6421-pmic: " Krzysztof Kozlowski
2015-01-20 11:56   ` Lee Jones
2015-01-05  9:01 ` [PATCH 03/14] mfd: intel_soc_pmic: " Krzysztof Kozlowski
2015-01-20 11:56   ` Lee Jones
2015-01-05  9:01 ` [PATCH 04/14] mfd: davinci_voicecodec: " Krzysztof Kozlowski
2015-01-20 11:56   ` Lee Jones
2015-01-05  9:01 ` [PATCH 05/14] mfd: lm3533: " Krzysztof Kozlowski
2015-01-20 11:57   ` Lee Jones
2015-01-05  9:01 ` [PATCH 06/14] mfd: max77686: " Krzysztof Kozlowski
2015-01-20 11:57   ` Lee Jones
2015-01-05  9:01 ` [PATCH 07/14] mfd: mc13xxx: i2c/spi: " Krzysztof Kozlowski
2015-01-20 11:58   ` Lee Jones
2015-01-05  9:01 ` [PATCH 08/14] mfd: pcf50633: " Krzysztof Kozlowski
2015-01-20 11:58   ` Lee Jones
2015-01-05  9:01 ` [PATCH 09/14] mfd: retu: " Krzysztof Kozlowski
2015-01-20 11:58   ` Lee Jones
2015-01-05  9:01 ` [PATCH 10/14] mfd: smsc-ece1099: " Krzysztof Kozlowski
2015-01-20 11:58   ` Lee Jones
2015-01-05  9:01 ` [PATCH 11/14] mfd: tps65217: " Krzysztof Kozlowski
2015-01-06 17:11   ` Tony Lindgren
2015-01-20 11:59   ` Lee Jones
2015-01-05  9:01 ` [PATCH 12/14] mfd: tps65218: " Krzysztof Kozlowski
2015-01-20 11:59   ` Lee Jones
2015-01-05  9:01 ` [PATCH 13/14] mfd: twl-core: Constify struct regmap_config and reg_default array Krzysztof Kozlowski
2015-01-06 17:12   ` Tony Lindgren
2015-01-20 11:59   ` Lee Jones
2015-01-05  9:01 ` [PATCH 14/14] mfd: twl6040: " Krzysztof Kozlowski
2015-01-06 17:12   ` Tony Lindgren
2015-01-20 12:00   ` Lee Jones
2015-01-20 11:54 ` [PATCH 01/14] mfd: 88pm860x-core: Constify struct regmap_config Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox