Re: [PATCH] mfd: da9150: Constify struct regmap_config

2015-02-25 Thread Lee Jones
On Tue, 24 Feb 2015, Krzysztof Kozlowski wrote: > 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 > --- > drivers/mfd/da9150-core.c | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [PATCH] mfd: da9150: Constify struct regmap_config

2015-02-25 Thread Lee Jones
On Tue, 24 Feb 2015, Krzysztof Kozlowski wrote: 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.kozlow...@samsung.com --- drivers/mfd/da9150-core.c | 2 +- 1 file changed, 1

[PATCH] mfd: da9150: Constify struct regmap_config

2015-02-24 Thread 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 --- drivers/mfd/da9150-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/da9150-core.c

[PATCH] mfd: da9150: Constify struct regmap_config

2015-02-24 Thread 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.kozlow...@samsung.com --- drivers/mfd/da9150-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git