Re: [PATCH] Input: bma150 - constify bma150_cfg structure

2016-01-02 Thread Dmitry Torokhov
On Wed, Dec 30, 2015 at 12:11:19PM +0100, Julia Lawall wrote: > The bma150_cfg structure is never modified, so declare it as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall Applied, thank you. > > --- > drivers/input/misc/bma150.c |2 +- > 1 file changed, 1

Re: [PATCH] Input: bma150 - constify bma150_cfg structure

2016-01-02 Thread Dmitry Torokhov
On Wed, Dec 30, 2015 at 12:11:19PM +0100, Julia Lawall wrote: > The bma150_cfg structure is never modified, so declare it as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall Applied, thank you. > > --- > drivers/input/misc/bma150.c |2 +-

[PATCH] Input: bma150 - constify bma150_cfg structure

2015-12-30 Thread Julia Lawall
The bma150_cfg structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/input/misc/bma150.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/misc/bma150.c b/drivers/input/misc/bma150.c

[PATCH] Input: bma150 - constify bma150_cfg structure

2015-12-30 Thread Julia Lawall
The bma150_cfg structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/input/misc/bma150.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/misc/bma150.c