linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 01/16] mfd: max14577: Make mfd_cell array const
@ 2014-05-13 10:58 Krzysztof Kozlowski
  2014-05-13 10:58 ` [PATCH 02/16] mfd: max14577: Make of_device_id " Krzysztof Kozlowski
                   ` (15 more replies)
  0 siblings, 16 replies; 39+ messages in thread
From: Krzysztof Kozlowski @ 2014-05-13 10:58 UTC (permalink / raw)
  To: Samuel Ortiz, Lee Jones, linux-kernel; +Cc: Krzysztof Kozlowski

mfd_add_devices() expects array of struct mfd_cell to be const.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
 drivers/mfd/max14577.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/mfd/max14577.c b/drivers/mfd/max14577.c
index 484d372a4892..39b658d6497b 100644
--- a/drivers/mfd/max14577.c
+++ b/drivers/mfd/max14577.c
@@ -26,7 +26,7 @@
 #include <linux/mfd/max14577.h>
 #include <linux/mfd/max14577-private.h>
 
-static struct mfd_cell max14577_devs[] = {
+static const struct mfd_cell max14577_devs[] = {
 	{
 		.name = "max14577-muic",
 		.of_compatible = "maxim,max14577-muic",
@@ -38,7 +38,7 @@ static struct mfd_cell max14577_devs[] = {
 	{ .name = "max14577-charger", },
 };
 
-static struct mfd_cell max77836_devs[] = {
+static const struct mfd_cell max77836_devs[] = {
 	{
 		.name = "max77836-muic",
 		.of_compatible = "maxim,max77836-muic",
@@ -292,7 +292,7 @@ static int max14577_i2c_probe(struct i2c_client *i2c,
 	struct device_node *np = i2c->dev.of_node;
 	int ret = 0;
 	const struct regmap_irq_chip *irq_chip;
-	struct mfd_cell *mfd_devs;
+	const struct mfd_cell *mfd_devs;
 	unsigned int mfd_devs_size;
 	int irq_flags;
 
-- 
1.9.1


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

* [PATCH 02/16] mfd: max14577: Make of_device_id array const
  2014-05-13 10:58 [PATCH 01/16] mfd: max14577: Make mfd_cell array const Krzysztof Kozlowski
@ 2014-05-13 10:58 ` Krzysztof Kozlowski
  2014-05-19  8:28   ` Lee Jones
  2014-05-13 10:58 ` [PATCH 03/16] mfd: ipaq-micro: Make mfd_cell " Krzysztof Kozlowski
                   ` (14 subsequent siblings)
  15 siblings, 1 reply; 39+ messages in thread
From: Krzysztof Kozlowski @ 2014-05-13 10:58 UTC (permalink / raw)
  To: Samuel Ortiz, Lee Jones, linux-kernel; +Cc: Krzysztof Kozlowski

Array of struct of_device_id should be const as expected by both
of_match_table field and of_match_device() call.

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

diff --git a/drivers/mfd/max14577.c b/drivers/mfd/max14577.c
index 39b658d6497b..372f329a27d5 100644
--- a/drivers/mfd/max14577.c
+++ b/drivers/mfd/max14577.c
@@ -57,7 +57,7 @@ static const struct mfd_cell max77836_devs[] = {
 	},
 };
 
-static struct of_device_id max14577_dt_match[] = {
+static const struct of_device_id max14577_dt_match[] = {
 	{
 		.compatible = "maxim,max14577",
 		.data = (void *)MAXIM_DEVICE_TYPE_MAX14577,
-- 
1.9.1


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

* [PATCH 03/16] mfd: ipaq-micro: Make mfd_cell array const
  2014-05-13 10:58 [PATCH 01/16] mfd: max14577: Make mfd_cell array const Krzysztof Kozlowski
  2014-05-13 10:58 ` [PATCH 02/16] mfd: max14577: Make of_device_id " Krzysztof Kozlowski
@ 2014-05-13 10:58 ` Krzysztof Kozlowski
  2014-05-16 13:37   ` Linus Walleij
  2014-05-19  8:24   ` Lee Jones
  2014-05-13 10:58 ` [PATCH 04/16] mfd: db8500-prcmu: " Krzysztof Kozlowski
                   ` (13 subsequent siblings)
  15 siblings, 2 replies; 39+ messages in thread
From: Krzysztof Kozlowski @ 2014-05-13 10:58 UTC (permalink / raw)
  To: Samuel Ortiz, Lee Jones, linux-kernel; +Cc: Krzysztof Kozlowski, Linus Walleij

mfd_add_devices() expects array of struct mfd_cell to be const.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
---
 drivers/mfd/ipaq-micro.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/ipaq-micro.c b/drivers/mfd/ipaq-micro.c
index 1763d6db346e..fe3c97b275a6 100644
--- a/drivers/mfd/ipaq-micro.c
+++ b/drivers/mfd/ipaq-micro.c
@@ -368,7 +368,7 @@ static irqreturn_t micro_serial_isr(int irq, void *dev_id)
 	return IRQ_HANDLED;
 }
 
-static struct mfd_cell micro_cells[] = {
+static const struct mfd_cell micro_cells[] = {
 	{ .name = "ipaq-micro-backlight", },
 	{ .name = "ipaq-micro-battery", },
 	{ .name = "ipaq-micro-keys", },
-- 
1.9.1


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

* [PATCH 04/16] mfd: db8500-prcmu: Make mfd_cell array const
  2014-05-13 10:58 [PATCH 01/16] mfd: max14577: Make mfd_cell array const Krzysztof Kozlowski
  2014-05-13 10:58 ` [PATCH 02/16] mfd: max14577: Make of_device_id " Krzysztof Kozlowski
  2014-05-13 10:58 ` [PATCH 03/16] mfd: ipaq-micro: Make mfd_cell " Krzysztof Kozlowski
@ 2014-05-13 10:58 ` Krzysztof Kozlowski
  2014-05-16 13:37   ` Linus Walleij
  2014-05-19  8:24   ` Lee Jones
  2014-05-13 10:58 ` [PATCH 05/16] mfd: kempld-core: " Krzysztof Kozlowski
                   ` (12 subsequent siblings)
  15 siblings, 2 replies; 39+ messages in thread
From: Krzysztof Kozlowski @ 2014-05-13 10:58 UTC (permalink / raw)
  To: Samuel Ortiz, Lee Jones, linux-kernel
  Cc: Krzysztof Kozlowski, Mattias Nilsson, Linus Walleij, linux-arm-kernel

mfd_add_devices() expects array of struct mfd_cell to be const.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Mattias Nilsson <mattias.i.nilsson@stericsson.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-arm-kernel@lists.infradead.org
---
 drivers/mfd/db8500-prcmu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c
index 7694e0700d34..93d2cdcc8aa9 100644
--- a/drivers/mfd/db8500-prcmu.c
+++ b/drivers/mfd/db8500-prcmu.c
@@ -3115,7 +3115,7 @@ static int db8500_prcmu_register_ab8500(struct device *parent,
 {
 	struct device_node *np;
 	struct resource ab8500_resource;
-	struct mfd_cell ab8500_cell = {
+	const struct mfd_cell ab8500_cell = {
 		.name = "ab8500-core",
 		.of_compatible = "stericsson,ab8500",
 		.id = AB8500_VERSION_AB8500,
-- 
1.9.1


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

* [PATCH 05/16] mfd: kempld-core: Make mfd_cell array const
  2014-05-13 10:58 [PATCH 01/16] mfd: max14577: Make mfd_cell array const Krzysztof Kozlowski
                   ` (2 preceding siblings ...)
  2014-05-13 10:58 ` [PATCH 04/16] mfd: db8500-prcmu: " Krzysztof Kozlowski
@ 2014-05-13 10:58 ` Krzysztof Kozlowski
  2014-05-14 21:12   ` kevin.strasser
  2014-05-19  8:25   ` Lee Jones
  2014-05-13 10:58 ` [PATCH 06/16] mfd: lp3943: " Krzysztof Kozlowski
                   ` (11 subsequent siblings)
  15 siblings, 2 replies; 39+ messages in thread
From: Krzysztof Kozlowski @ 2014-05-13 10:58 UTC (permalink / raw)
  To: Samuel Ortiz, Lee Jones, linux-kernel; +Cc: Krzysztof Kozlowski, Kevin Strasser

The kempld_devs (array of mfd_cells) can be safely made const.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Kevin Strasser <kevin.strasser@linux.intel.com>
---
 drivers/mfd/kempld-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/kempld-core.c b/drivers/mfd/kempld-core.c
index 25c5ca6797da..f7ff0188603d 100644
--- a/drivers/mfd/kempld-core.c
+++ b/drivers/mfd/kempld-core.c
@@ -86,7 +86,7 @@ enum kempld_cells {
 	KEMPLD_UART,
 };
 
-static struct mfd_cell kempld_devs[] = {
+static const struct mfd_cell kempld_devs[] = {
 	[KEMPLD_I2C] = {
 		.name = "kempld-i2c",
 	},
-- 
1.9.1


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

* [PATCH 06/16] mfd: lp3943: Make mfd_cell array const
  2014-05-13 10:58 [PATCH 01/16] mfd: max14577: Make mfd_cell array const Krzysztof Kozlowski
                   ` (3 preceding siblings ...)
  2014-05-13 10:58 ` [PATCH 05/16] mfd: kempld-core: " Krzysztof Kozlowski
@ 2014-05-13 10:58 ` Krzysztof Kozlowski
  2014-05-13 14:55   ` Milo Kim
  2014-05-19  8:26   ` Lee Jones
  2014-05-13 10:58 ` [PATCH 07/16] mfd: rtsx_usb: " Krzysztof Kozlowski
                   ` (10 subsequent siblings)
  15 siblings, 2 replies; 39+ messages in thread
From: Krzysztof Kozlowski @ 2014-05-13 10:58 UTC (permalink / raw)
  To: Samuel Ortiz, Lee Jones, linux-kernel; +Cc: Krzysztof Kozlowski, Milo Kim

mfd_add_devices() expects array of struct mfd_cell to be const.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Milo Kim <milo.kim@ti.com>
---
 drivers/mfd/lp3943.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/lp3943.c b/drivers/mfd/lp3943.c
index e32226836fb4..335b930112b2 100644
--- a/drivers/mfd/lp3943.c
+++ b/drivers/mfd/lp3943.c
@@ -62,7 +62,7 @@ static const struct lp3943_reg_cfg lp3943_mux_cfg[] = {
 	{ LP3943_REG_MUX3, 0xC0, 6 },
 };
 
-static struct mfd_cell lp3943_devs[] = {
+static const struct mfd_cell lp3943_devs[] = {
 	{
 		.name = "lp3943-pwm",
 		.of_compatible = "ti,lp3943-pwm",
-- 
1.9.1


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

* [PATCH 07/16] mfd: rtsx_usb: Make mfd_cell array const
  2014-05-13 10:58 [PATCH 01/16] mfd: max14577: Make mfd_cell array const Krzysztof Kozlowski
                   ` (4 preceding siblings ...)
  2014-05-13 10:58 ` [PATCH 06/16] mfd: lp3943: " Krzysztof Kozlowski
@ 2014-05-13 10:58 ` Krzysztof Kozlowski
  2014-05-15  9:17   ` Roger
  2014-05-19  8:25   ` Lee Jones
  2014-05-13 10:58 ` [PATCH 08/16] mfd: wm8400-core: " Krzysztof Kozlowski
                   ` (9 subsequent siblings)
  15 siblings, 2 replies; 39+ messages in thread
From: Krzysztof Kozlowski @ 2014-05-13 10:58 UTC (permalink / raw)
  To: Samuel Ortiz, Lee Jones, linux-kernel; +Cc: Krzysztof Kozlowski, Roger Tseng

mfd_add_devices() expects array of struct mfd_cell to be const.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Roger Tseng <rogerable@realtek.com>
---
 drivers/mfd/rtsx_usb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/rtsx_usb.c b/drivers/mfd/rtsx_usb.c
index 141ea52c46e3..6352bec8419a 100644
--- a/drivers/mfd/rtsx_usb.c
+++ b/drivers/mfd/rtsx_usb.c
@@ -29,7 +29,7 @@ static int polling_pipe = 1;
 module_param(polling_pipe, int, S_IRUGO | S_IWUSR);
 MODULE_PARM_DESC(polling_pipe, "polling pipe (0: ctl, 1: bulk)");
 
-static struct mfd_cell rtsx_usb_cells[] = {
+static const struct mfd_cell rtsx_usb_cells[] = {
 	[RTSX_USB_SD_CARD] = {
 		.name = "rtsx_usb_sdmmc",
 		.pdata_size = 0,
-- 
1.9.1


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

* [PATCH 08/16] mfd: wm8400-core: Make mfd_cell array const
  2014-05-13 10:58 [PATCH 01/16] mfd: max14577: Make mfd_cell array const Krzysztof Kozlowski
                   ` (5 preceding siblings ...)
  2014-05-13 10:58 ` [PATCH 07/16] mfd: rtsx_usb: " Krzysztof Kozlowski
@ 2014-05-13 10:58 ` Krzysztof Kozlowski
  2014-05-13 11:35   ` Charles Keepax
  2014-05-19  8:26   ` Lee Jones
  2014-05-13 10:58 ` [PATCH 09/16] mfd: sec-core: Make of_device_id " Krzysztof Kozlowski
                   ` (8 subsequent siblings)
  15 siblings, 2 replies; 39+ messages in thread
From: Krzysztof Kozlowski @ 2014-05-13 10:58 UTC (permalink / raw)
  To: Samuel Ortiz, Lee Jones, linux-kernel
  Cc: Krzysztof Kozlowski, Mark Brown, patches

mfd_add_devices() expects array of struct mfd_cell to be const.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Mark Brown <broonie@linaro.org>
Cc: patches@opensource.wolfsonmicro.com
---
 drivers/mfd/wm8400-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/wm8400-core.c b/drivers/mfd/wm8400-core.c
index e5eae751aa1b..c6fb5d16ca09 100644
--- a/drivers/mfd/wm8400-core.c
+++ b/drivers/mfd/wm8400-core.c
@@ -64,7 +64,7 @@ EXPORT_SYMBOL_GPL(wm8400_block_read);
 
 static int wm8400_register_codec(struct wm8400 *wm8400)
 {
-	struct mfd_cell cell = {
+	const struct mfd_cell cell = {
 		.name = "wm8400-codec",
 		.platform_data = wm8400,
 		.pdata_size = sizeof(*wm8400),
-- 
1.9.1


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

* [PATCH 09/16] mfd: sec-core: Make of_device_id array const
  2014-05-13 10:58 [PATCH 01/16] mfd: max14577: Make mfd_cell array const Krzysztof Kozlowski
                   ` (6 preceding siblings ...)
  2014-05-13 10:58 ` [PATCH 08/16] mfd: wm8400-core: " Krzysztof Kozlowski
@ 2014-05-13 10:58 ` Krzysztof Kozlowski
  2014-05-19  8:33   ` Lee Jones
  2014-05-13 10:58 ` [PATCH 10/16] mfd: omap-usb-host: " Krzysztof Kozlowski
                   ` (7 subsequent siblings)
  15 siblings, 1 reply; 39+ messages in thread
From: Krzysztof Kozlowski @ 2014-05-13 10:58 UTC (permalink / raw)
  To: Samuel Ortiz, Lee Jones, linux-kernel
  Cc: Krzysztof Kozlowski, Sachin Kamat, Sangbeom Kim

Array of struct of_device_id may be be const as expected by both
of_match_table field and of_match_node() call.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Sangbeom Kim <sbkim73@samsung.com>
---
 drivers/mfd/sec-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/sec-core.c b/drivers/mfd/sec-core.c
index 09fd256abcf6..bc29ccd8dd58 100644
--- a/drivers/mfd/sec-core.c
+++ b/drivers/mfd/sec-core.c
@@ -90,7 +90,7 @@ static const struct mfd_cell s2mpa01_devs[] = {
 };
 
 #ifdef CONFIG_OF
-static struct of_device_id sec_dt_match[] = {
+static const struct of_device_id sec_dt_match[] = {
 	{	.compatible = "samsung,s5m8767-pmic",
 		.data = (void *)S5M8767X,
 	}, {
-- 
1.9.1


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

* [PATCH 10/16] mfd: omap-usb-host: Make of_device_id array const
  2014-05-13 10:58 [PATCH 01/16] mfd: max14577: Make mfd_cell array const Krzysztof Kozlowski
                   ` (7 preceding siblings ...)
  2014-05-13 10:58 ` [PATCH 09/16] mfd: sec-core: Make of_device_id " Krzysztof Kozlowski
@ 2014-05-13 10:58 ` Krzysztof Kozlowski
  2014-05-19  8:32   ` Lee Jones
  2014-05-13 10:58 ` [PATCH 11/16] mfd: max8998: " Krzysztof Kozlowski
                   ` (6 subsequent siblings)
  15 siblings, 1 reply; 39+ messages in thread
From: Krzysztof Kozlowski @ 2014-05-13 10:58 UTC (permalink / raw)
  To: Samuel Ortiz, Lee Jones, linux-kernel; +Cc: Krzysztof Kozlowski, Roger Quadros

Array of struct of_device_id may be be const as expected by
of_platform_populate() call.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Roger Quadros <rogerq@ti.com>
---
 drivers/mfd/omap-usb-host.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c
index 651e249287dc..b48d80c367f9 100644
--- a/drivers/mfd/omap-usb-host.c
+++ b/drivers/mfd/omap-usb-host.c
@@ -557,7 +557,7 @@ static int usbhs_omap_get_dt_pdata(struct device *dev,
 	return 0;
 }
 
-static struct of_device_id usbhs_child_match_table[] = {
+static const struct of_device_id usbhs_child_match_table[] = {
 	{ .compatible = "ti,omap-ehci", },
 	{ .compatible = "ti,omap-ohci", },
 	{ }
-- 
1.9.1


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

* [PATCH 11/16] mfd: max8998: Make of_device_id array const
  2014-05-13 10:58 [PATCH 01/16] mfd: max14577: Make mfd_cell array const Krzysztof Kozlowski
                   ` (8 preceding siblings ...)
  2014-05-13 10:58 ` [PATCH 10/16] mfd: omap-usb-host: " Krzysztof Kozlowski
@ 2014-05-13 10:58 ` Krzysztof Kozlowski
  2014-05-19  8:31   ` Lee Jones
  2014-05-13 10:58 ` [PATCH 12/16] mfd: max8997: " Krzysztof Kozlowski
                   ` (5 subsequent siblings)
  15 siblings, 1 reply; 39+ messages in thread
From: Krzysztof Kozlowski @ 2014-05-13 10:58 UTC (permalink / raw)
  To: Samuel Ortiz, Lee Jones, linux-kernel; +Cc: Krzysztof Kozlowski, Kyungmin Park

Array of struct of_device_id may be be const as expected by both
of_match_table field and of_match_node() call.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
---
 drivers/mfd/max8998.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/max8998.c b/drivers/mfd/max8998.c
index 592db06098e6..a37cb7444b6e 100644
--- a/drivers/mfd/max8998.c
+++ b/drivers/mfd/max8998.c
@@ -132,7 +132,7 @@ int max8998_update_reg(struct i2c_client *i2c, u8 reg, u8 val, u8 mask)
 EXPORT_SYMBOL(max8998_update_reg);
 
 #ifdef CONFIG_OF
-static struct of_device_id max8998_dt_match[] = {
+static const struct of_device_id max8998_dt_match[] = {
 	{ .compatible = "maxim,max8998", .data = (void *)TYPE_MAX8998 },
 	{ .compatible = "national,lp3974", .data = (void *)TYPE_LP3974 },
 	{ .compatible = "ti,lp3974", .data = (void *)TYPE_LP3974 },
-- 
1.9.1


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

* [PATCH 12/16] mfd: max8997: Make of_device_id array const
  2014-05-13 10:58 [PATCH 01/16] mfd: max14577: Make mfd_cell array const Krzysztof Kozlowski
                   ` (9 preceding siblings ...)
  2014-05-13 10:58 ` [PATCH 11/16] mfd: max8998: " Krzysztof Kozlowski
@ 2014-05-13 10:58 ` Krzysztof Kozlowski
  2014-05-19  8:31   ` Lee Jones
  2014-05-13 10:58 ` [PATCH 13/16] mfd: as3711: " Krzysztof Kozlowski
                   ` (4 subsequent siblings)
  15 siblings, 1 reply; 39+ messages in thread
From: Krzysztof Kozlowski @ 2014-05-13 10:58 UTC (permalink / raw)
  To: Samuel Ortiz, Lee Jones, linux-kernel; +Cc: Krzysztof Kozlowski

Array of struct of_device_id may be be const as expected by both
of_match_table field and of_match_node() call.

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

diff --git a/drivers/mfd/max8997.c b/drivers/mfd/max8997.c
index 8cf7a015cfe5..595364ee178a 100644
--- a/drivers/mfd/max8997.c
+++ b/drivers/mfd/max8997.c
@@ -51,7 +51,7 @@ static const struct mfd_cell max8997_devs[] = {
 };
 
 #ifdef CONFIG_OF
-static struct of_device_id max8997_pmic_dt_match[] = {
+static const struct of_device_id max8997_pmic_dt_match[] = {
 	{ .compatible = "maxim,max8997-pmic", .data = (void *)TYPE_MAX8997 },
 	{},
 };
-- 
1.9.1


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

* [PATCH 13/16] mfd: as3711: Make of_device_id array const
  2014-05-13 10:58 [PATCH 01/16] mfd: max14577: Make mfd_cell array const Krzysztof Kozlowski
                   ` (10 preceding siblings ...)
  2014-05-13 10:58 ` [PATCH 12/16] mfd: max8997: " Krzysztof Kozlowski
@ 2014-05-13 10:58 ` Krzysztof Kozlowski
  2014-05-19  8:27   ` Lee Jones
  2014-05-13 10:58 ` [PATCH 14/16] mfd: max77686: " Krzysztof Kozlowski
                   ` (3 subsequent siblings)
  15 siblings, 1 reply; 39+ messages in thread
From: Krzysztof Kozlowski @ 2014-05-13 10:58 UTC (permalink / raw)
  To: Samuel Ortiz, Lee Jones, linux-kernel
  Cc: Krzysztof Kozlowski, Guennadi Liakhovetski

Array of struct of_device_id may be be const as expected by
of_match_table field.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
---
 drivers/mfd/as3711.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/as3711.c b/drivers/mfd/as3711.c
index ec684fcedb42..d9706ede8d39 100644
--- a/drivers/mfd/as3711.c
+++ b/drivers/mfd/as3711.c
@@ -114,7 +114,7 @@ static const struct regmap_config as3711_regmap_config = {
 };
 
 #ifdef CONFIG_OF
-static struct of_device_id as3711_of_match[] = {
+static const struct of_device_id as3711_of_match[] = {
 	{.compatible = "ams,as3711",},
 	{}
 };
-- 
1.9.1


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

* [PATCH 14/16] mfd: max77686: Make of_device_id array const
  2014-05-13 10:58 [PATCH 01/16] mfd: max14577: Make mfd_cell array const Krzysztof Kozlowski
                   ` (11 preceding siblings ...)
  2014-05-13 10:58 ` [PATCH 13/16] mfd: as3711: " Krzysztof Kozlowski
@ 2014-05-13 10:58 ` Krzysztof Kozlowski
  2014-05-19  8:28   ` Lee Jones
  2014-05-13 10:58 ` [PATCH 15/16] mfd: max77693: " Krzysztof Kozlowski
                   ` (2 subsequent siblings)
  15 siblings, 1 reply; 39+ messages in thread
From: Krzysztof Kozlowski @ 2014-05-13 10:58 UTC (permalink / raw)
  To: Samuel Ortiz, Lee Jones, linux-kernel; +Cc: Krzysztof Kozlowski

Array of struct of_device_id may be be const as expected by
of_match_table field.

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

diff --git a/drivers/mfd/max77686.c b/drivers/mfd/max77686.c
index e5fce765accb..ce869acf27ae 100644
--- a/drivers/mfd/max77686.c
+++ b/drivers/mfd/max77686.c
@@ -47,7 +47,7 @@ static struct regmap_config max77686_regmap_config = {
 };
 
 #ifdef CONFIG_OF
-static struct of_device_id max77686_pmic_dt_match[] = {
+static const struct of_device_id max77686_pmic_dt_match[] = {
 	{.compatible = "maxim,max77686", .data = NULL},
 	{},
 };
-- 
1.9.1


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

* [PATCH 15/16] mfd: max77693: Make of_device_id array const
  2014-05-13 10:58 [PATCH 01/16] mfd: max14577: Make mfd_cell array const Krzysztof Kozlowski
                   ` (12 preceding siblings ...)
  2014-05-13 10:58 ` [PATCH 14/16] mfd: max77686: " Krzysztof Kozlowski
@ 2014-05-13 10:58 ` Krzysztof Kozlowski
  2014-05-13 11:42   ` Chanwoo Choi
  2014-05-19  8:26   ` Lee Jones
  2014-05-13 10:58 ` [PATCH 16/16] mfd: max8907: " Krzysztof Kozlowski
  2014-05-19  8:23 ` [PATCH 01/16] mfd: max14577: Make mfd_cell " Lee Jones
  15 siblings, 2 replies; 39+ messages in thread
From: Krzysztof Kozlowski @ 2014-05-13 10:58 UTC (permalink / raw)
  To: Samuel Ortiz, Lee Jones, linux-kernel; +Cc: Krzysztof Kozlowski, Chanwoo Choi

Array of struct of_device_id may be be const as expected by
of_match_table field.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Chanwoo Choi <cw00.choi@samsung.com>
---
 drivers/mfd/max77693.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/max77693.c b/drivers/mfd/max77693.c
index c5535f018466..7e05428c756d 100644
--- a/drivers/mfd/max77693.c
+++ b/drivers/mfd/max77693.c
@@ -243,7 +243,7 @@ static const struct dev_pm_ops max77693_pm = {
 };
 
 #ifdef CONFIG_OF
-static struct of_device_id max77693_dt_match[] = {
+static const struct of_device_id max77693_dt_match[] = {
 	{ .compatible = "maxim,max77693" },
 	{},
 };
-- 
1.9.1


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

* [PATCH 16/16] mfd: max8907: Make of_device_id array const
  2014-05-13 10:58 [PATCH 01/16] mfd: max14577: Make mfd_cell array const Krzysztof Kozlowski
                   ` (13 preceding siblings ...)
  2014-05-13 10:58 ` [PATCH 15/16] mfd: max77693: " Krzysztof Kozlowski
@ 2014-05-13 10:58 ` Krzysztof Kozlowski
  2014-05-19  8:27   ` Lee Jones
  2014-05-19  8:23 ` [PATCH 01/16] mfd: max14577: Make mfd_cell " Lee Jones
  15 siblings, 1 reply; 39+ messages in thread
From: Krzysztof Kozlowski @ 2014-05-13 10:58 UTC (permalink / raw)
  To: Samuel Ortiz, Lee Jones, linux-kernel; +Cc: Krzysztof Kozlowski

Array of struct of_device_id may be be const as expected by
of_match_table field.

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

diff --git a/drivers/mfd/max8907.c b/drivers/mfd/max8907.c
index 07740314b29d..232749c8813d 100644
--- a/drivers/mfd/max8907.c
+++ b/drivers/mfd/max8907.c
@@ -305,7 +305,7 @@ static int max8907_i2c_remove(struct i2c_client *i2c)
 }
 
 #ifdef CONFIG_OF
-static struct of_device_id max8907_of_match[] = {
+static const struct of_device_id max8907_of_match[] = {
 	{ .compatible = "maxim,max8907" },
 	{ },
 };
-- 
1.9.1


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

* Re: [PATCH 08/16] mfd: wm8400-core: Make mfd_cell array const
  2014-05-13 10:58 ` [PATCH 08/16] mfd: wm8400-core: " Krzysztof Kozlowski
@ 2014-05-13 11:35   ` Charles Keepax
  2014-05-19  8:26   ` Lee Jones
  1 sibling, 0 replies; 39+ messages in thread
From: Charles Keepax @ 2014-05-13 11:35 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Samuel Ortiz, Lee Jones, linux-kernel, patches, Mark Brown

On Tue, May 13, 2014 at 12:58:45PM +0200, Krzysztof Kozlowski wrote:
> mfd_add_devices() expects array of struct mfd_cell to be const.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> Cc: Mark Brown <broonie@linaro.org>
> Cc: patches@opensource.wolfsonmicro.com
> ---

Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>

Thanks,
Charles

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

* Re: [PATCH 15/16] mfd: max77693: Make of_device_id array const
  2014-05-13 10:58 ` [PATCH 15/16] mfd: max77693: " Krzysztof Kozlowski
@ 2014-05-13 11:42   ` Chanwoo Choi
  2014-05-19  8:26   ` Lee Jones
  1 sibling, 0 replies; 39+ messages in thread
From: Chanwoo Choi @ 2014-05-13 11:42 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: Samuel Ortiz, Lee Jones, linux-kernel

On 05/13/2014 07:58 PM, Krzysztof Kozlowski wrote:
> Array of struct of_device_id may be be const as expected by
> of_match_table field.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> Cc: Chanwoo Choi <cw00.choi@samsung.com>
> ---
>  drivers/mfd/max77693.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mfd/max77693.c b/drivers/mfd/max77693.c
> index c5535f018466..7e05428c756d 100644
> --- a/drivers/mfd/max77693.c
> +++ b/drivers/mfd/max77693.c
> @@ -243,7 +243,7 @@ static const struct dev_pm_ops max77693_pm = {
>  };
>  
>  #ifdef CONFIG_OF
> -static struct of_device_id max77693_dt_match[] = {
> +static const struct of_device_id max77693_dt_match[] = {
>  	{ .compatible = "maxim,max77693" },
>  	{},
>  };
> 

Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>

Thanks,
Chanwoo Choi

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

* Re: [PATCH 06/16] mfd: lp3943: Make mfd_cell array const
  2014-05-13 10:58 ` [PATCH 06/16] mfd: lp3943: " Krzysztof Kozlowski
@ 2014-05-13 14:55   ` Milo Kim
  2014-05-19  8:26   ` Lee Jones
  1 sibling, 0 replies; 39+ messages in thread
From: Milo Kim @ 2014-05-13 14:55 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: Samuel Ortiz, Lee Jones, linux-kernel

On 05/13/2014 07:58 PM, Krzysztof Kozlowski wrote:
> mfd_add_devices() expects array of struct mfd_cell to be const.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> Cc: Milo Kim <milo.kim@ti.com>

Acked-by: Milo Kim <milo.kim@ti.com>

Thanks!

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

* Re: [PATCH 05/16] mfd: kempld-core: Make mfd_cell array const
  2014-05-13 10:58 ` [PATCH 05/16] mfd: kempld-core: " Krzysztof Kozlowski
@ 2014-05-14 21:12   ` kevin.strasser
  2014-05-19  8:25   ` Lee Jones
  1 sibling, 0 replies; 39+ messages in thread
From: kevin.strasser @ 2014-05-14 21:12 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Samuel Ortiz, Lee Jones, linux-kernel, Krzysztof Kozlowski,
	Kevin Strasser

> The kempld_devs (array of mfd_cells) can be safely made const.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> Cc: Kevin Strasser <kevin.strasser@linux.intel.com>

Acked-by: Kevin Strasser <kevin.strasser@linux.intel.com>

Thanks,
Kevin

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

* Re: [PATCH 07/16] mfd: rtsx_usb: Make mfd_cell array const
  2014-05-13 10:58 ` [PATCH 07/16] mfd: rtsx_usb: " Krzysztof Kozlowski
@ 2014-05-15  9:17   ` Roger
  2014-05-19  8:25   ` Lee Jones
  1 sibling, 0 replies; 39+ messages in thread
From: Roger @ 2014-05-15  9:17 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Samuel Ortiz, Lee Jones; +Cc: linux-kernel


On 05/13/2014 06:58 PM, Krzysztof Kozlowski wrote:
> mfd_add_devices() expects array of struct mfd_cell to be const.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> Cc: Roger Tseng <rogerable@realtek.com>
Acked-by: Roger Tseng <rogerable@realtek.com>
> ---
>   drivers/mfd/rtsx_usb.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mfd/rtsx_usb.c b/drivers/mfd/rtsx_usb.c
> index 141ea52c46e3..6352bec8419a 100644
> --- a/drivers/mfd/rtsx_usb.c
> +++ b/drivers/mfd/rtsx_usb.c
> @@ -29,7 +29,7 @@ static int polling_pipe = 1;
>   module_param(polling_pipe, int, S_IRUGO | S_IWUSR);
>   MODULE_PARM_DESC(polling_pipe, "polling pipe (0: ctl, 1: bulk)");
>
> -static struct mfd_cell rtsx_usb_cells[] = {
> +static const struct mfd_cell rtsx_usb_cells[] = {
>   	[RTSX_USB_SD_CARD] = {
>   		.name = "rtsx_usb_sdmmc",
>   		.pdata_size = 0,
>

Best regards,
Roger Tseng

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

* Re: [PATCH 03/16] mfd: ipaq-micro: Make mfd_cell array const
  2014-05-13 10:58 ` [PATCH 03/16] mfd: ipaq-micro: Make mfd_cell " Krzysztof Kozlowski
@ 2014-05-16 13:37   ` Linus Walleij
  2014-05-19  8:24   ` Lee Jones
  1 sibling, 0 replies; 39+ messages in thread
From: Linus Walleij @ 2014-05-16 13:37 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: Samuel Ortiz, Lee Jones, linux-kernel

On Tue, May 13, 2014 at 12:58 PM, Krzysztof Kozlowski
<k.kozlowski@samsung.com> wrote:

> mfd_add_devices() expects array of struct mfd_cell to be const.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> Cc: Linus Walleij <linus.walleij@linaro.org>

Acked-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij

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

* Re: [PATCH 04/16] mfd: db8500-prcmu: Make mfd_cell array const
  2014-05-13 10:58 ` [PATCH 04/16] mfd: db8500-prcmu: " Krzysztof Kozlowski
@ 2014-05-16 13:37   ` Linus Walleij
  2014-05-19  8:24   ` Lee Jones
  1 sibling, 0 replies; 39+ messages in thread
From: Linus Walleij @ 2014-05-16 13:37 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Samuel Ortiz, Lee Jones, linux-kernel, Mattias Nilsson, linux-arm-kernel

On Tue, May 13, 2014 at 12:58 PM, Krzysztof Kozlowski
<k.kozlowski@samsung.com> wrote:

> mfd_add_devices() expects array of struct mfd_cell to be const.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> Cc: Mattias Nilsson <mattias.i.nilsson@stericsson.com>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> Cc: linux-arm-kernel@lists.infradead.org

Acked-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij

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

* Re: [PATCH 01/16] mfd: max14577: Make mfd_cell array const
  2014-05-13 10:58 [PATCH 01/16] mfd: max14577: Make mfd_cell array const Krzysztof Kozlowski
                   ` (14 preceding siblings ...)
  2014-05-13 10:58 ` [PATCH 16/16] mfd: max8907: " Krzysztof Kozlowski
@ 2014-05-19  8:23 ` Lee Jones
  15 siblings, 0 replies; 39+ messages in thread
From: Lee Jones @ 2014-05-19  8:23 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: Samuel Ortiz, linux-kernel

> mfd_add_devices() expects array of struct mfd_cell to be const.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> ---
>  drivers/mfd/max14577.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Applied, thanks.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* Re: [PATCH 04/16] mfd: db8500-prcmu: Make mfd_cell array const
  2014-05-13 10:58 ` [PATCH 04/16] mfd: db8500-prcmu: " Krzysztof Kozlowski
  2014-05-16 13:37   ` Linus Walleij
@ 2014-05-19  8:24   ` Lee Jones
  1 sibling, 0 replies; 39+ messages in thread
From: Lee Jones @ 2014-05-19  8:24 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Samuel Ortiz, linux-kernel, Mattias Nilsson, Linus Walleij,
	linux-arm-kernel

On Tue, 13 May 2014, Krzysztof Kozlowski wrote:

> mfd_add_devices() expects array of struct mfd_cell to be const.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> Cc: Mattias Nilsson <mattias.i.nilsson@stericsson.com>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> Cc: linux-arm-kernel@lists.infradead.org
> ---
>  drivers/mfd/db8500-prcmu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* Re: [PATCH 03/16] mfd: ipaq-micro: Make mfd_cell array const
  2014-05-13 10:58 ` [PATCH 03/16] mfd: ipaq-micro: Make mfd_cell " Krzysztof Kozlowski
  2014-05-16 13:37   ` Linus Walleij
@ 2014-05-19  8:24   ` Lee Jones
  1 sibling, 0 replies; 39+ messages in thread
From: Lee Jones @ 2014-05-19  8:24 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: Samuel Ortiz, linux-kernel, Linus Walleij

On Tue, 13 May 2014, Krzysztof Kozlowski wrote:

> mfd_add_devices() expects array of struct mfd_cell to be const.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> ---
>  drivers/mfd/ipaq-micro.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* Re: [PATCH 07/16] mfd: rtsx_usb: Make mfd_cell array const
  2014-05-13 10:58 ` [PATCH 07/16] mfd: rtsx_usb: " Krzysztof Kozlowski
  2014-05-15  9:17   ` Roger
@ 2014-05-19  8:25   ` Lee Jones
  1 sibling, 0 replies; 39+ messages in thread
From: Lee Jones @ 2014-05-19  8:25 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: Samuel Ortiz, linux-kernel, Roger Tseng

On Tue, 13 May 2014, Krzysztof Kozlowski wrote:

> mfd_add_devices() expects array of struct mfd_cell to be const.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> Cc: Roger Tseng <rogerable@realtek.com>
> ---
>  drivers/mfd/rtsx_usb.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* Re: [PATCH 05/16] mfd: kempld-core: Make mfd_cell array const
  2014-05-13 10:58 ` [PATCH 05/16] mfd: kempld-core: " Krzysztof Kozlowski
  2014-05-14 21:12   ` kevin.strasser
@ 2014-05-19  8:25   ` Lee Jones
  1 sibling, 0 replies; 39+ messages in thread
From: Lee Jones @ 2014-05-19  8:25 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: Samuel Ortiz, linux-kernel, Kevin Strasser

On Tue, 13 May 2014, Krzysztof Kozlowski wrote:

> The kempld_devs (array of mfd_cells) can be safely made const.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> Cc: Kevin Strasser <kevin.strasser@linux.intel.com>
> ---
>  drivers/mfd/kempld-core.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* Re: [PATCH 06/16] mfd: lp3943: Make mfd_cell array const
  2014-05-13 10:58 ` [PATCH 06/16] mfd: lp3943: " Krzysztof Kozlowski
  2014-05-13 14:55   ` Milo Kim
@ 2014-05-19  8:26   ` Lee Jones
  1 sibling, 0 replies; 39+ messages in thread
From: Lee Jones @ 2014-05-19  8:26 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: Samuel Ortiz, linux-kernel, Milo Kim

On Tue, 13 May 2014, Krzysztof Kozlowski wrote:

> mfd_add_devices() expects array of struct mfd_cell to be const.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> Cc: Milo Kim <milo.kim@ti.com>
> ---
>  drivers/mfd/lp3943.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* Re: [PATCH 15/16] mfd: max77693: Make of_device_id array const
  2014-05-13 10:58 ` [PATCH 15/16] mfd: max77693: " Krzysztof Kozlowski
  2014-05-13 11:42   ` Chanwoo Choi
@ 2014-05-19  8:26   ` Lee Jones
  1 sibling, 0 replies; 39+ messages in thread
From: Lee Jones @ 2014-05-19  8:26 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: Samuel Ortiz, linux-kernel, Chanwoo Choi

On Tue, 13 May 2014, Krzysztof Kozlowski wrote:

> Array of struct of_device_id may be be const as expected by
> of_match_table field.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> Cc: Chanwoo Choi <cw00.choi@samsung.com>
> ---
>  drivers/mfd/max77693.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* Re: [PATCH 08/16] mfd: wm8400-core: Make mfd_cell array const
  2014-05-13 10:58 ` [PATCH 08/16] mfd: wm8400-core: " Krzysztof Kozlowski
  2014-05-13 11:35   ` Charles Keepax
@ 2014-05-19  8:26   ` Lee Jones
  1 sibling, 0 replies; 39+ messages in thread
From: Lee Jones @ 2014-05-19  8:26 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: Samuel Ortiz, linux-kernel, Mark Brown, patches

On Tue, 13 May 2014, Krzysztof Kozlowski wrote:

> mfd_add_devices() expects array of struct mfd_cell to be const.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> Cc: Mark Brown <broonie@linaro.org>
> Cc: patches@opensource.wolfsonmicro.com
> ---
>  drivers/mfd/wm8400-core.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* Re: [PATCH 13/16] mfd: as3711: Make of_device_id array const
  2014-05-13 10:58 ` [PATCH 13/16] mfd: as3711: " Krzysztof Kozlowski
@ 2014-05-19  8:27   ` Lee Jones
  0 siblings, 0 replies; 39+ messages in thread
From: Lee Jones @ 2014-05-19  8:27 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: Samuel Ortiz, linux-kernel, Guennadi Liakhovetski

On Tue, 13 May 2014, Krzysztof Kozlowski wrote:

> Array of struct of_device_id may be be const as expected by
> of_match_table field.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
> ---
>  drivers/mfd/as3711.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* Re: [PATCH 16/16] mfd: max8907: Make of_device_id array const
  2014-05-13 10:58 ` [PATCH 16/16] mfd: max8907: " Krzysztof Kozlowski
@ 2014-05-19  8:27   ` Lee Jones
  0 siblings, 0 replies; 39+ messages in thread
From: Lee Jones @ 2014-05-19  8:27 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: Samuel Ortiz, linux-kernel

On Tue, 13 May 2014, Krzysztof Kozlowski wrote:

> Array of struct of_device_id may be be const as expected by
> of_match_table field.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> ---
>  drivers/mfd/max8907.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* Re: [PATCH 14/16] mfd: max77686: Make of_device_id array const
  2014-05-13 10:58 ` [PATCH 14/16] mfd: max77686: " Krzysztof Kozlowski
@ 2014-05-19  8:28   ` Lee Jones
  0 siblings, 0 replies; 39+ messages in thread
From: Lee Jones @ 2014-05-19  8:28 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: Samuel Ortiz, linux-kernel

On Tue, 13 May 2014, Krzysztof Kozlowski wrote:

> Array of struct of_device_id may be be const as expected by
> of_match_table field.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> ---
>  drivers/mfd/max77686.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* Re: [PATCH 02/16] mfd: max14577: Make of_device_id array const
  2014-05-13 10:58 ` [PATCH 02/16] mfd: max14577: Make of_device_id " Krzysztof Kozlowski
@ 2014-05-19  8:28   ` Lee Jones
  0 siblings, 0 replies; 39+ messages in thread
From: Lee Jones @ 2014-05-19  8:28 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: Samuel Ortiz, linux-kernel

On Tue, 13 May 2014, Krzysztof Kozlowski wrote:

> Array of struct of_device_id should be const as expected by both
> of_match_table field and of_match_device() call.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> ---
>  drivers/mfd/max14577.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* Re: [PATCH 11/16] mfd: max8998: Make of_device_id array const
  2014-05-13 10:58 ` [PATCH 11/16] mfd: max8998: " Krzysztof Kozlowski
@ 2014-05-19  8:31   ` Lee Jones
  0 siblings, 0 replies; 39+ messages in thread
From: Lee Jones @ 2014-05-19  8:31 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: Samuel Ortiz, linux-kernel, Kyungmin Park

On Tue, 13 May 2014, Krzysztof Kozlowski wrote:

> Array of struct of_device_id may be be const as expected by both
> of_match_table field and of_match_node() call.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> Cc: Kyungmin Park <kyungmin.park@samsung.com>
> ---
>  drivers/mfd/max8998.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* Re: [PATCH 12/16] mfd: max8997: Make of_device_id array const
  2014-05-13 10:58 ` [PATCH 12/16] mfd: max8997: " Krzysztof Kozlowski
@ 2014-05-19  8:31   ` Lee Jones
  0 siblings, 0 replies; 39+ messages in thread
From: Lee Jones @ 2014-05-19  8:31 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: Samuel Ortiz, linux-kernel

On Tue, 13 May 2014, Krzysztof Kozlowski wrote:

> Array of struct of_device_id may be be const as expected by both
> of_match_table field and of_match_node() call.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> ---
>  drivers/mfd/max8997.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* Re: [PATCH 10/16] mfd: omap-usb-host: Make of_device_id array const
  2014-05-13 10:58 ` [PATCH 10/16] mfd: omap-usb-host: " Krzysztof Kozlowski
@ 2014-05-19  8:32   ` Lee Jones
  0 siblings, 0 replies; 39+ messages in thread
From: Lee Jones @ 2014-05-19  8:32 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: Samuel Ortiz, linux-kernel, Roger Quadros

On Tue, 13 May 2014, Krzysztof Kozlowski wrote:

> Array of struct of_device_id may be be const as expected by
> of_platform_populate() call.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> Cc: Roger Quadros <rogerq@ti.com>
> ---
>  drivers/mfd/omap-usb-host.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* Re: [PATCH 09/16] mfd: sec-core: Make of_device_id array const
  2014-05-13 10:58 ` [PATCH 09/16] mfd: sec-core: Make of_device_id " Krzysztof Kozlowski
@ 2014-05-19  8:33   ` Lee Jones
  0 siblings, 0 replies; 39+ messages in thread
From: Lee Jones @ 2014-05-19  8:33 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Samuel Ortiz, linux-kernel, Sachin Kamat, Sangbeom Kim

On Tue, 13 May 2014, Krzysztof Kozlowski wrote:

> Array of struct of_device_id may be be const as expected by both
> of_match_table field and of_match_node() call.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> Cc: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Sangbeom Kim <sbkim73@samsung.com>
> ---
>  drivers/mfd/sec-core.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

end of thread, other threads:[~2014-05-19  8:33 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-13 10:58 [PATCH 01/16] mfd: max14577: Make mfd_cell array const Krzysztof Kozlowski
2014-05-13 10:58 ` [PATCH 02/16] mfd: max14577: Make of_device_id " Krzysztof Kozlowski
2014-05-19  8:28   ` Lee Jones
2014-05-13 10:58 ` [PATCH 03/16] mfd: ipaq-micro: Make mfd_cell " Krzysztof Kozlowski
2014-05-16 13:37   ` Linus Walleij
2014-05-19  8:24   ` Lee Jones
2014-05-13 10:58 ` [PATCH 04/16] mfd: db8500-prcmu: " Krzysztof Kozlowski
2014-05-16 13:37   ` Linus Walleij
2014-05-19  8:24   ` Lee Jones
2014-05-13 10:58 ` [PATCH 05/16] mfd: kempld-core: " Krzysztof Kozlowski
2014-05-14 21:12   ` kevin.strasser
2014-05-19  8:25   ` Lee Jones
2014-05-13 10:58 ` [PATCH 06/16] mfd: lp3943: " Krzysztof Kozlowski
2014-05-13 14:55   ` Milo Kim
2014-05-19  8:26   ` Lee Jones
2014-05-13 10:58 ` [PATCH 07/16] mfd: rtsx_usb: " Krzysztof Kozlowski
2014-05-15  9:17   ` Roger
2014-05-19  8:25   ` Lee Jones
2014-05-13 10:58 ` [PATCH 08/16] mfd: wm8400-core: " Krzysztof Kozlowski
2014-05-13 11:35   ` Charles Keepax
2014-05-19  8:26   ` Lee Jones
2014-05-13 10:58 ` [PATCH 09/16] mfd: sec-core: Make of_device_id " Krzysztof Kozlowski
2014-05-19  8:33   ` Lee Jones
2014-05-13 10:58 ` [PATCH 10/16] mfd: omap-usb-host: " Krzysztof Kozlowski
2014-05-19  8:32   ` Lee Jones
2014-05-13 10:58 ` [PATCH 11/16] mfd: max8998: " Krzysztof Kozlowski
2014-05-19  8:31   ` Lee Jones
2014-05-13 10:58 ` [PATCH 12/16] mfd: max8997: " Krzysztof Kozlowski
2014-05-19  8:31   ` Lee Jones
2014-05-13 10:58 ` [PATCH 13/16] mfd: as3711: " Krzysztof Kozlowski
2014-05-19  8:27   ` Lee Jones
2014-05-13 10:58 ` [PATCH 14/16] mfd: max77686: " Krzysztof Kozlowski
2014-05-19  8:28   ` Lee Jones
2014-05-13 10:58 ` [PATCH 15/16] mfd: max77693: " Krzysztof Kozlowski
2014-05-13 11:42   ` Chanwoo Choi
2014-05-19  8:26   ` Lee Jones
2014-05-13 10:58 ` [PATCH 16/16] mfd: max8907: " Krzysztof Kozlowski
2014-05-19  8:27   ` Lee Jones
2014-05-19  8:23 ` [PATCH 01/16] mfd: max14577: Make mfd_cell " Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).