Re: [PATCH 12/14] mfd: tps65218: Constify struct regmap_config

2015-01-20 Thread Lee Jones
On Mon, 05 Jan 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 > Cc: Tony Lindgren > Cc: linux-o...@vger.kernel.org > --- >

Re: [PATCH 12/14] mfd: tps65218: Constify struct regmap_config

2015-01-20 Thread Lee Jones
On Mon, 05 Jan 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 Cc: Tony Lindgren t...@atomide.com Cc:

[PATCH 12/14] mfd: tps65218: Constify struct regmap_config

2015-01-05 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 Cc: Tony Lindgren Cc: linux-o...@vger.kernel.org --- drivers/mfd/tps65218.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 12/14] mfd: tps65218: Constify struct regmap_config

2015-01-05 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 Cc: Tony Lindgren t...@atomide.com Cc: linux-o...@vger.kernel.org --- drivers/mfd/tps65218.c | 2 +- 1 file