Re: [PATCH 14/14] mfd: twl6040: Constify struct regmap_config and reg_default array

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. Make array of > struct reg_default const as well. > > Signed-off-by: Krzysztof Kozlowski > Cc: Tony Lindgren > Cc: linux

Re: [PATCH 14/14] mfd: twl6040: Constify struct regmap_config and reg_default array

2015-01-06 Thread Tony Lindgren
* Krzysztof Kozlowski [150105 01:04]: > The regmap_config struct may be const because it is not modified by the > driver and regmap_init() accepts pointer to const. Make array of > struct reg_default const as well. > > Signed-off-by: Krzysztof Kozlowski Acked-by: Tony Lindgren > Cc: linux-o..