Re: [PATCH 2/2] iio: jsa1212: Constify struct regmap_config

2015-02-25 Thread Jonathan Cameron
On 24/02/15 09:41, 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 Applied to the togreg branch of iio.git. I'm having another of my periodic days in a

[PATCH 2/2] iio: jsa1212: 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/iio/light/jsa1212.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/light/jsa1212.c b/drivers/