Re: [PATCH] mmc: pwrseq: constify mmc_pwrseq_ops structures

2015-11-19 Thread Ulf Hansson
On 14 November 2015 at 18:05, Julia Lawall wrote: > The mmc_pwrseq_ops structures are never modified, so declare them as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall Thanks, applied for next! Kind regards Uffe > > --- > drivers/mmc/core/pwrseq.h|2 +

[PATCH] mmc: pwrseq: constify mmc_pwrseq_ops structures

2015-11-14 Thread Julia Lawall
The mmc_pwrseq_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/mmc/core/pwrseq.h|2 +- drivers/mmc/core/pwrseq_emmc.c |2 +- drivers/mmc/core/pwrseq_simple.c |2 +- 3 files changed, 3 i