Re: [PATCH] ds2782_battery: constify ds278x_battery_ops structure

2015-12-04 Thread Sebastian Reichel
Hi, On Fri, Nov 13, 2015 at 07:41:34PM +0100, Julia Lawall wrote: > The ds278x_battery_ops structure is never modified, so declare it as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall Thanks, queued. -- Sebastian signature.asc Description: PGP signature

Re: [PATCH] ds2782_battery: constify ds278x_battery_ops structure

2015-12-04 Thread Sebastian Reichel
Hi, On Fri, Nov 13, 2015 at 07:41:34PM +0100, Julia Lawall wrote: > The ds278x_battery_ops structure is never modified, so declare it as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall Thanks, queued. -- Sebastian signature.asc

[PATCH] ds2782_battery: constify ds278x_battery_ops structure

2015-11-13 Thread Julia Lawall
The ds278x_battery_ops structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/power/ds2782_battery.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/power/ds2782_battery.c

[PATCH] ds2782_battery: constify ds278x_battery_ops structure

2015-11-13 Thread Julia Lawall
The ds278x_battery_ops structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/power/ds2782_battery.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git