Re: [v2] hwmon: adt7475: constify attribute_group structures

2017-08-08 Thread Arvind Yadav
yes, Sorry for noise. After rebase, it' was showing unchanged. On Wednesday 09 August 2017 07:35 AM, Guenter Roeck wrote: On Mon, Aug 07, 2017 at 03:06:29PM +0530, Arvind Yadav wrote: attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by

Re: [v2] hwmon: adt7475: constify attribute_group structures

2017-08-08 Thread Guenter Roeck
On Mon, Aug 07, 2017 at 03:06:29PM +0530, Arvind Yadav wrote: > attribute_group are not supposed to change at runtime. All functions > working with attribute_group provided by work with > const attribute_group. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav Kind of conf